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.
false, $orig_w, $orig_h
Sortie :
@param bool $proceed The filtered value. @param int $orig_w Original image width. @param int $orig_h Original image height.
// Modifier la valeur avec le filtre 'wp_image_resize_identical_dimensions'
add_filter('wp_image_resize_identical_dimensions', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(false) {
// Modifier la valeur
return false;
}
Chargement des actualités...