image_edit_thumbnails_separately filter-hookWP 6.3.0

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

wp_image_editor()
image_edit_thumbnails_separately
wp_save_image()
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 927
$edit_thumbnails_separately = (bool) apply_filters( 'image_edit_thumbnails_separately', false );

Where the hook is used in WordPress

Usage not found.