Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_ajax_cropped_attachment_id ›

Da4.3.0
Deprecaton/a
apply_filters( 'wp_ajax_cropped_attachment_id', $attachment_id, $context )
Parametri: (2)
  • (int) $attachment_id The attachment ID of the cropped image.
    Richiesto:
  • (string) $context The Customizer control requesting the cropped image.
    Richiesto:
Definito a:
Codex:

Filters the attachment ID for a cropped image.





Sorgenti

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