mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
Add a filter on the list of post types for the settings pages
This commit is contained in:
@@ -224,7 +224,14 @@ class Display_Featured_Image_Genesis_Settings extends Display_Featured_Image_Gen
|
||||
$options[ $post_type ] = $object->label;
|
||||
}
|
||||
|
||||
return $options;
|
||||
/**
|
||||
* Add a filter on the list of post types which can be assigned a featured image, etc.
|
||||
*
|
||||
* @param array $options
|
||||
*
|
||||
* @since 3.1.0
|
||||
*/
|
||||
return apply_filters( 'displayfeaturedimagegenesis_get_post_types', $options );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user