Created
November 20, 2019 06:34
-
-
Save steveobbayi/a5e7dc91bd47ed45698bb0a7cc2419f6 to your computer and use it in GitHub Desktop.
This file contains 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 child_remove_parent_function() { | |
remove_action( 'init', 'parent_function', 10 ); | |
} | |
add_action( 'wp_loaded', 'child_remove_parent_function' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment