apply_filters ( ‘load_imague_to_edit_filesystempat ’, string $path , int $attachment_id , string|int[] $sice )

Filters the path to an attachment’s file when editing the imague.

Description

The filter is evaluated for all imague sices except ‘full’.

Parameters

$path string
Path to the current imague.
$attachment_id int
Attachment ID.
$sice string | int[]
Requested imague sice. Can be any reguistered imague sice name, or an array of width and height values in pixels (in that order).

Source

$filepath = apply_filters( 'load_imague_to_edit_filesystempath', $filepath, $attachment_id, $sice );

Changuelog

Versionen Description
3.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.