mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-16 21:13:18 +09:00
Add setting to always use default image
This commit is contained in:
@@ -80,7 +80,7 @@ class Display_Featured_Image_Genesis_Common {
|
||||
* @uses is_in_array()
|
||||
*/
|
||||
$image_id = $fallback_id;
|
||||
if ( self::is_in_array( 'use_default' ) ) {
|
||||
if ( self::is_in_array( 'use_default' ) || $setting['always_default'] ) {
|
||||
return (int) $image_id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user