Skip to content

Instantly share code, notes, and snippets.

Created Jan 9, 2018
What would you like to do?
Usage of objects-hooks-remover without Composer
* Plugin Name: A plugin name goes here
* Following files are found in the object-hooks-remover repository
* @see
require_once __DIR__ . '/utils.php';
require_once __DIR__ . '/object-hooks-remover.php';
// From here do anything you need to do...
// An example from the article
Inpsyde\remove_closure_hook( 'init', SomeClass::class, [ '$foo', '$bar' ] );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment