wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_image_resize_identical_dimensions › Hooks de Filtros WordPress

Desde5.3.0
Obsoleton/a
› apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h )
Parâmetros: (3)
  • () proceed The filtered value.
    Required: Yes
  • () orig_w Original image width.
    Required: Yes
  • () orig_h Original image height.
    Required: Yes
Definido em:
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.





Fonte

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