Run plugins only on certain pages
Question
I want to use my personal plugin only in some pages.
If I remove the add_action function ('the_content', 'my_plugin_content'); the plugin does not show me the content of the other pages that are not in in_array ();
function my_plugin_content($content){
global $post; global $wp;
0
activation, custom-content, customization, pages, plugins
4 years
0 Answers
95 views