wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_ajax_cropped_attachment_id › Les Filtres WordPress

Depuis4.3.0
Dépréciéen/a
› apply_filters( 'wp_ajax_cropped_attachment_id', $attachment_id, $context )
Paramètres: (2)
  • () attachment_id The attachment ID of the cropped image.
    Requis: Oui
  • () context The Customizer control requesting the cropped image.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the attachment ID for a cropped image.





Source

$attachment_id = apply_filters( 'wp_ajax_cropped_attachment_id', $attachment_id, $context );