image_edit_thumbnails_separately
Shows the settings in the Image Editor that allow selecting to edit only the thumbnail of an image.
Usage
add_filter( 'image_edit_thumbnails_separately', 'wp_kama_image_edit_thumbnails_separately_filter' );
/**
* Function for `image_edit_thumbnails_separately` filter-hook.
*
* @param bool $show Whether to show the settings in the Image Editor.
*
* @return bool
*/
function wp_kama_image_edit_thumbnails_separately_filter( $show ){
// filter...
return $show;
}
- $show(true|false)
- Whether to show the settings in the Image Editor.
Default: false
Changelog
| Since 6.3.0 | Introduced. |
Where the hook is called
image_edit_thumbnails_separately
image_edit_thumbnails_separately
wp-admin/includes/image-edit.php 55
$edit_thumbnails_separately = (bool) apply_filters( 'image_edit_thumbnails_separately', false );
wp-admin/includes/image-edit.php 936
$edit_thumbnails_separately = (bool) apply_filters( 'image_edit_thumbnails_separately', false );