W3cubDocs

/WordPress

apply_filters( 'load_image_to_edit_attachmenturl', string $image_url, string $attachment_id, string $size )

Filters the image URL if not in the local filesystem.

Description

The filter is only evaluated if fopen is enabled on the server.

Parameters

$image_url

(string) Current image URL.

$attachment_id

(string) Attachment ID.

$size

(string) Size of the image.

Source

File: wp-admin/includes/image.php

View on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/load_image_to_edit_attachmenturl