WordPress开发者和主题制作者的搜索引擎



load_image_to_edit_path ›

Since2.9.0
已弃用n/a
apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size )
参数: (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
定义在:
文档:

Filters the returned path or URL of the current image.





源码

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