wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
big_image_size_threshold › Les Filtres WordPress
Depuis5.3.0
Dépréciéen/a
› apply_filters( 'big_image_size_threshold', 2560, $imagesize, $file, $attachment_id )
Paramètres: (4) |
|
Défini(e) dans: |
|
Codex: |
Filters the "BIG image" threshold value.
If the original image width or height is above the threshold, it will be scaled down. The threshold is
used as max width and max height. The scaled down image will be used as the largest available size, including
the _wp_attached_file
post meta value.
Returning false
from the filter callback will disable the scaling.
Fonctions en relation: image_size_input_fields, _wp_get_image_size_from_meta, add_image_size, get_image_send_to_editor, has_image_size, _prime_site_caches