image_edit_thumbnails_separately

image_edit_thumbnails_separately

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('image_edit_thumbnails_separately') is found 2 times:

  • /wp-admin/includes/image-edit.php line 55
    	 * @since 6.3.0
    	 *
    	 * @param bool $show Whether to show the settings in the Image Editor. Default false.
    	 */
    	$edit_thumbnails_separately = (bool) apply_filters( 'image_edit_thumbnails_separately', false );
    
    	?>
    	<div class="imgedit-wrap wp-clearfix">
    	<div id="imgedit-panel-<?php echo $post_id; ?>">
    	<?php echo $note; ?>
    	<div class="imgedit-panel-content imgedit-panel-tools wp-clearfix">
    
  • /wp-admin/includes/image-edit.php line 927
    	$target      = ! empty( $_REQUEST['target'] ) ? preg_replace( '/[^a-z0-9_-]+/i', '', $_REQUEST['target'] ) : '';
    	$scale       = ! empty( $_REQUEST['do'] ) && 'scale' === $_REQUEST['do'];
    
    	/** This filter is documented in wp-admin/includes/image-edit.php */
    	$edit_thumbnails_separately = (bool) apply_filters( 'image_edit_thumbnails_separately', false );
    
    	if ( $scale ) {
    		$size            = $img->get_size();
    		$original_width  = $size['width'];
    		$original_height = $size['height'];