Vasanthan.R.P
Vasanthan.R.P

Reputation: 1287

Create Wordpress Child plugins

I knew that we can create child themes for wordpress. But i want to know can we create child plugins. The reason for this is i want to insert some text or something to the existing plugin without touching the plugin files. So my changes will not be affected while upgrading the plugin. Please advice it is possible or not. Thanks

Upvotes: 4

Views: 5994

Answers (2)

Rikesh
Rikesh

Reputation: 26431

Use hooks & filters to modify your plugin function from your theme's functions.php. So it won't be affected at plugin upgrade time.

Have a look @ PluginAPI

Upvotes: 3

Hsue88
Hsue88

Reputation: 1

there is no "child" plugin in wordpress... just create a separate plugin to do what you want it to do. It sounds like you would need to use a filter.

Upvotes: 0

Related Questions