WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Additional plugins not shown in every page (1 post)

  1. ide79
    Member
    Posted 4 years ago #

    I use conditional statement in header.php to prevent some plugins from being loaded in every page. Is there a downside when using remove_action command to get rid of the additional plugins?

    // If is_page array
    remove_action('wp_head','ThePlugins_add_actionfunction');
    remove_action('wp_head','TheSecondPlugins_add_actionfunction');

    Like the plugin: wp page numbers -> wp_page_numbers_stylesheet

Topic Closed

This topic has been closed to new replies.

About this Topic