Setting Default Featured Image; Specific Post Types?

[ad_1]

Are there any code snippets which would set a Default Featured Image for specific post types?

Note: I’ve found one snippet to display such an image across all post types – but I’d like to differentiate by core and custom post types alike.

I’ve also observed that the working snippet doesn’t seem to pass the default image to ActivityPub posts (even though the snippet is active at the time such posts are published for the first time).

Does anyone have experience and insight into accomplishing the desired outcome?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer