WordPress at a glance
filter is not described

load_image_to_edit_filesystempath filter-hook . WP 3.1.0

Filters the path to the current image.

The filter is evaluated for all image sizes except 'full'.


add_filter( 'load_image_to_edit_filesystempath', 'filter_function_name_6260', 10, 3 );
function filter_function_name_6260( $path, $attachment_id, $size ){
	// filter...

	return $path;
Path to the current image.
Attachment ID.
Size of the image.


Since 3.1.0 Introduced.

Where the hook is called

wp-admin/includes/image.php 669
$filepath = apply_filters( 'load_image_to_edit_filesystempath', path_join( dirname( $filepath ), $data['file'] ), $attachment_id, $size );

Where the hook is used (in WP core)

Usage not found!