Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_image_resize_identical_dimensions ›

Seit5.3.0
Veraltetn/v
apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h )
Parameter: (3)
  • (bool) $proceed The filtered value.
    Erforderlich: Ja
  • (int) $orig_w Original image width.
    Erforderlich: Ja
  • (int) $orig_h Original image height.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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