Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Created December 16, 2016 21:04
Show Gist options
  • Save hellofromtonya/3b30a56171c6c3eaf23f1eb3181c766f to your computer and use it in GitHub Desktop.
Save hellofromtonya/3b30a56171c6c3eaf23f1eb3181c766f to your computer and use it in GitHub Desktop.
remove a callback hook using a shortcut strategy
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