Title: A quick question about plugin development
Last modified: August 20, 2016

---

# A quick question about plugin development

 *  Resolved [Patrick](https://wordpress.org/support/users/randomgift/)
 * (@randomgift)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/a-quick-question-about-plugin-development/)
 * Hi there,
 * I’ve written a basic function which works well in each of my blogs. I’d just 
   like to **know how easy it would be to write a plugin which add’s this code (
   6 or 7 lines) into the themes’ functions.php file**.
 * Any advice would be greatly appreciated, eager to write my first plugin 🙂
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [Patrick](https://wordpress.org/support/users/randomgift/)
 * (@randomgift)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/a-quick-question-about-plugin-development/#post-2219805)
 * Scratch that… finished my plugin:
 * [http://wordpress.org/extend/plugins/simple-content-expiry/](http://wordpress.org/extend/plugins/simple-content-expiry/)

Viewing 1 replies (of 1 total)

The topic ‘A quick question about plugin development’ is closed to new replies.

## Tags

 * [plugin-development](https://wordpress.org/support/topic-tag/plugin-development/)

 * 1 reply
 * 1 participant
 * Last reply from: [Patrick](https://wordpress.org/support/users/randomgift/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/a-quick-question-about-plugin-development/#post-2219805)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
