Lines:
1 to 15 of 15
<?php /** * Theme Tools: functions for Featured Images. * * @package automattic/jetpack */ /* function jetpack_featured_images_remove_post_thumbnail() – The function to prevent for Featured Images to be displayed in a theme. */ add_filter( 'get_post_metadata', 'jetpack_featured_images_remove_post_thumbnail', true, 3 ); /* function jetpack_is_product() – Check if we are in a WooCommerce Product in order to exclude it from the is_single check. */ /* function jetpack_is_shop_page() – Check if we are in a WooCommerce Shop in order to exclude it from the is_archive check. */