0

I'm trying to remove the featured images from pages and posts in the Genesis Framework (from a plugin).

I assume I use:

remove_action('genesis_entry_header', 'genesis_do_post_image', 8);

I've tried it on the template_redirect hook and the genesis_setup hook with no success. When I use:

remove_all_actions('genesis_entry_header');

on the template_redirect hook it works as expected, but no luck with the individual action

1
  • You question is pretty unclear! You need to share more details(specially your full code block) on how you are trying to unhook the function! – CodeMascot Apr 28 '20 at 9:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.