开发者

Create Wordpress Child plugins

开发者 https://www.devze.com 2023-04-11 14:24 出处:网络
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 pl

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号