wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



load_image_to_edit_filesystempath › Hooks de Filtros WordPress

Desde3.1.0
Obsoleton/a
› apply_filters( 'load_image_to_edit_filesystempath', $filepath, $attachment_id, $size )
Parâmetros: (3)
  • () path Path to the current image.
    Required: Yes
  • () attachment_id Attachment ID.
    Required: Yes
  • () size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    Required: Yes
Definido em:
Codex:

Filters the path to an attachment's file when editing the image.

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




Fonte

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