wpseek.com
WordPress开发者和主题制作者的搜索引擎
image_resize_dimensions › WordPress过滤钩子
Since3.4.0
已弃用n/a
› apply_filters( 'image_resize_dimensions', null, $orig_w, $orig_h, $dest_w, $dest_h, $crop )
| 参数: (6) |
|
| 定义在: |
|
| 文档: |
Filters whether to preempt calculating the image resize dimensions.
Returning a non-null value from the filter will effectively short-circuit image_resize_dimensions(), returning that value instead.Related Functions: image_resize_dimensions, wp_image_src_get_dimensions, image_resize, image_size_input_fields, wp_shrink_dimensions, wp_constrain_dimensions