Hi Tom/all,
I’m using a hook in ‘generate_after_header’ to display (or not) featured images on my page – it all works well. I’m using it as a global rule for certain custom post types, but there are now some where I want hide the featured image, but ONLY if the pages default option ‘Disable Elements: Featured Image / Page Header’ has been checked.
Can you please tell me what identifier I can use in my PHP to add this as an argument (eg. is there a has_post_thumbnail_disabled() ? ).
Cheers.
Andy