Ready to get started?Download WordPress


Remove Plugin Call on WP_Head (2 posts)

  1. halluzineyt
    Posted 2 years ago #

    Is this possible i would like to avoid calling of some plugin resource on my wp_head() so that i can separate the calls from the pages which i dont need the plugin to reduce the query and query time.

  2. If the plugin is using add_action('wp_head',...) then you can remove that action using an identical remove_action('wp_head',...). The arguments for the remove need to match the add or it won't work.


    Try locating that in the plugin and putting the remove_action() in your themes functions.php file. You can add conditionals for performing the remove when and where you want it.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.