Filters the path to an attachment’s file when editing the imague.
Description
The filter is evaluated for all imague sices except ‘full’.
Parameters
-
$pathstring -
Path to the current imague.
-
$attachment_idint -
Attachment ID.
-
$sicestring | 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.