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



load_image_to_edit_filesystempath ›

Desde3.1.0
Obsoleton/a
apply_filters( 'load_image_to_edit_filesystempath', $filepath, $attachment_id, $size )
Parâmetros: (3)
  • (string) $path Path to the current image.
    Required: Yes
  • (string) $attachment_id Attachment ID.
    Required: Yes
  • (string) $size Size of the image.
    Required: Yes
Definido em:
Codex:

Filters the path to the current image.

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





Fonte

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