wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



load_image_to_edit_filesystempath › Filtr WordPress Hooks

Od3.1.0
Przestarzałyn/a
apply_filters( 'load_image_to_edit_filesystempath', $filepath, $attachment_id, $size )
Parametry: (3)
  • (string) $path Path to the current image.
    Wymagane: Tak
  • (int) $attachment_id Attachment ID.
    Wymagane: Tak
  • (string|int[]) $size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the path to an attachment's file when editing the image.

The filter is evaluated for all image sizes except 'full'.





Źródło

$filepath = apply_filters( 'load_image_to_edit_filesystempath', $filepath, $attachment_id, $size );