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



load_image_to_edit_path › Filtr WordPress Hooks

Od2.9.0
Przestarzałyn/a
apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size )
Parametry: (3)
  • (string|false) $filepath File path or URL to current image, or false.
    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 returned path or URL of the current image.





Źródło

return apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size );