apply_filters( 'wp_ajax_cropped_attachment_id', int $attachment_id, string $context )

Filters the attachment ID for a cropped image.


Parameters

$attachment_id

The attachment ID of the cropped image.

$context

The Customizer control requesting the cropped image.


Source

File: wp-admin/includes/ajax-actions.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.3.0 Introduced.