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



wp_get_original_image_path › WordPress过滤钩子

Since5.3.0
已弃用n/a
› apply_filters( 'wp_get_original_image_path', $original_image, $attachment_id )
参数: (2)
  • () original_image Path to original image file.
    Required: Yes
  • () attachment_id Attachment ID.
    Required: Yes
定义在:
文档:

Filters the path to the original image.





源码

return apply_filters( 'wp_get_original_image_path', $original_image, $attachment_id );