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



wp_ajax_cropped_attachment_id ›

Desde4.3.0
Obsoleton/a
apply_filters( 'wp_ajax_cropped_attachment_id', $attachment_id, $context )
Parâmetros: (2)
  • (int) $attachment_id The attachment ID of the cropped image.
    Required: Yes
  • (string) $context The Customizer control requesting the cropped image.
    Required: Yes
Definido em:
Codex:

Filters the attachment ID for a cropped image.





Fonte

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