Created
October 11, 2014 21:43
-
-
Save barrykooij/fff476ee5bfb7eabb15f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function rp4wp_example_remove_hook() { | |
$hook_instance = RP4WP_Manager_Hook::get_hook_object( 'RP4WP_Hook_Frontend_Css' ); | |
remove_action( 'wp_head', array( $hook_instance, 'run' ), $hook_instance->get_priority() ); | |
} | |
add_action( 'init', 'rp4wp_example_remove_hook' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment