Skip to content

Instantly share code, notes, and snippets.

@barrykooij
Created October 11, 2014 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barrykooij/fff476ee5bfb7eabb15f to your computer and use it in GitHub Desktop.
Save barrykooij/fff476ee5bfb7eabb15f to your computer and use it in GitHub Desktop.
<?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