load_image_to_edit_path

Advertisement

Summery Summery

Filters the returned path or URL of the current image.

Syntax Syntax

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

Parameters 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 Source

File: wp-admin/includes/image.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.