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
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
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.
精彩评论