apply_filters( 'load_image_to_edit_path', string|bool $filepath, string $attachment_id, string $size )

Filters the returned path or URL of the current image.


Parameters

$filepath

(string|bool) File path or URL to current image, or false.

$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-2.9.0 Introduced.