Answer by Cai for Trigger JS in custom meta box if a featured image is...
I couldn't find any WP specific event to hook in to. What you can do is set up an observer with a callback to respond to DOM changes using MutationObserver and check if the your featured image has been...
View ArticleAnswer by Mark Kaplun for Trigger JS in custom meta box if a featured image...
Very broad solution.There are two problems you are facingthere are different HTML generated by the server based on if there is a featured imageMeta box are just a UI artifact of post editing and are...
View ArticleTrigger JS in custom meta box if a featured image is loaded/exists
Playing with WordPress customization I created a meta box with several others that report back details of the post. One meta box evaluates the featured image but I am having trouble figuring out how to...
View Article