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



wp_image_resize_identical_dimensions › WordPress过滤钩子

Since5.3.0
已弃用n/a
› apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h )
参数: (3)
  • () proceed The filtered value.
    Required: Yes
  • () orig_w Original image width.
    Required: Yes
  • () orig_h Original image height.
    Required: Yes
定义在:
文档:

Filters whether to proceed with making an image sub-size with identical dimensions with the original/source image. Differences of 1px may be due to rounding and are ignored.





源码

$proceed = (bool) apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h );