wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_image_resize_identical_dimensions › Filtr WordPress Hooks

Od5.3.0
Przestarzałyn/a
› apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h )
Parametry: (3)
  • () proceed The filtered value.
    Wymagane: Tak
  • () orig_w Original image width.
    Wymagane: Tak
  • () orig_h Original image height.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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.





Źródło

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