Created
August 9, 2019 20:38
-
-
Save BinaryMoon/9369e075b2c58df617f71daa367c96b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Romero Disable Featured Images from Attachments | |
* Plugin URI: https://prothemedesign.com | |
* Description: Stop Romero from using attachments as a replacement for featured images if there are no featured images to use. | |
* Author: Ben Gillbanks | |
* Version: 1.0 | |
* Author URI: https://prothemedesign.com | |
* Text Domain: romero | |
*/ | |
add_filter( 'romero_use_image_attachments', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment