Created
December 16, 2016 21:04
-
-
Save hellofromtonya/3b30a56171c6c3eaf23f1eb3181c766f to your computer and use it in GitHub Desktop.
remove a callback hook using a shortcut strategy
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
add_action( 'genesis_entry_header', 'remove_post_byline', 9999 ); | |
/** | |
* Remove the post metadata byline from the HTML markup. | |
* | |
* @since 1.0.0 | |
* | |
* @return void | |
*/ | |
function remove_post_byline() { | |
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment