I cannot get this working. Some weeks/months ago this worked for me. But after last updates not:
remove_action( ‘generate_after_header’,’generate_page_header’ );
I want to hide featured image just for a CPT. I want to still show featured images in blog single posts or other CPTs, but there is no way to hide it using code. I know I could use CSS but I don’t want the code being loaded.
Which is the correct way?
Thanks