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



load_image_to_edit_filesystempath › WordPress Filter Hooks

Seit3.1.0
Veraltetn/v
apply_filters( 'load_image_to_edit_filesystempath', $filepath, $attachment_id, $size )
Parameter: (3)
  • (string) $path Path to the current image.
    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 path to an attachment's file when editing the image.

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





Quellcode

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