apply_filters( 'load_image_to_edit_filesystempath', string $path, string $attachment_id, string $size )

Filters the path to the current image.


Description

The filter is evaluated for all image sizes except ‘full’.


Parameters

$path

(string) Path to the current image.

$attachment_id

(string) Attachment ID.

$size

(string) Size of the image.


Source

File: wp-admin/includes/image.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.1.0 Introduced.