• Skip to primary navigation
  • Skip to main content

Genesis Community

Resources for Genesis WordPress Theme Users

  • Facebook
  • Twitter
  • Slack
  • Wiki
  • Login
You are here: Home / Wikis / Genesis / Remove all actions’ loop hooks

Remove all actions’ loop hooks

// Remove all actions from entry hooks.

$hooks = array(
    'genesis_entry_header',
    'genesis_entry_content',
    'genesis_entry_footer',
);

foreach ( $hooks as $hook ) {
    remove_all_actions( $hook );
}

Posted by: Sridhar Katakam Category: Genesis Tags: hooks

« Conditionally remove post info for certain authors
Remove hyperlink from enty titles »

Copyright © 2026 · Genesis Sample on Genesis Framework · WordPress · Log in