Filters the attachment ID for a cropped image.
$attachment_idint
$contextstring
$attachment_id = apply_filters( 'wp_ajax_cropped_attachment_id', $attachment_id, $context );
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_ajax_cropped_attachment_id