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



load_image_to_edit_filesystempath › Les Filtres WordPress

Depuis3.1.0
Dépréciéen/a
apply_filters( 'load_image_to_edit_filesystempath', $filepath, $attachment_id, $size )
Paramètres: (3)
  • (string) $path Path to the current image.
    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 path to an attachment's file when editing the image.

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





Source

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