wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



load_image_to_edit_path › Les Filtres WordPress

Depuis2.9.0
Dépréciéen/a
apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size )
Paramètres: (3)
  • (string|false) $filepath File path or URL to current image, or false.
    Requis: Oui
  • (int) $attachment_id Attachment ID.
    Requis: Oui
  • (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).
    Requis: Oui
Défini(e) dans:
Codex:

Filters the returned path or URL of the current image.





Source

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