wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



load_image_to_edit_path › WordPress Filter Hooks

Seit2.9.0
Veraltetn/v
apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size )
Parameter: (3)
  • (string|false) $filepath File path or URL to current image, or false.
    Erforderlich: Ja
  • (int) $attachment_id Attachment ID.
    Erforderlich: Ja
  • (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).
    Erforderlich: Ja
Definiert in:
Codex:

Filters the returned path or URL of the current image.





Quellcode

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