load_image_to_edit_attachmenturl

Advertisement

Summery Summery

Filters the image URL if not in the local filesystem.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$image_url

Current image URL.

$attachment_id

Attachment ID.

$size

Size of the image.

Source Source

File: wp-admin/includes/image.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply