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

Filters the attachment ID for a cropped image.

Parameters Parameters


(int) The attachment ID of the cropped image.


(string) The Customizer control requesting the cropped image.

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.