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



load_image_to_edit_path ›

Desde2.9.0
Obsoleton/a
apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size )
Parâmetros: (3)
  • (string|bool) $filepath File path or URL to current image, or false.
    Required: Yes
  • (string) $attachment_id Attachment ID.
    Required: Yes
  • (string) $size Size of the image.
    Required: Yes
Definido em:
Codex:

Filters the returned path or URL of the current image.





Fonte

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