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



image_strip_meta › WordPress过滤钩子

Since4.5.0
已弃用n/a
apply_filters( 'image_strip_meta', $strip_meta )
参数:
  • (bool) $strip_meta Whether to strip image metadata during resizing. Default true.
    Required: Yes
定义在:
文档:

Filters whether to strip metadata from images when they're resized.

This filter only applies when resizing using the Imagick editor since GD always strips profiles by default.





源码

if ( apply_filters( 'image_strip_meta', $strip_meta ) ) {