wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



load_image_to_edit_path › WordPress Filter Hooks

Da2.9.0
Deprecaton/a
apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size )
Parametri: (3)
  • (string|false) $filepath File path or URL to current image, or false.
    Richiesto:
  • (int) $attachment_id Attachment ID.
    Richiesto:
  • (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).
    Richiesto:
Definito a:
Codex:

Filters the returned path or URL of the current image.





Sorgenti

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