wp_ajax_cropped_attachment_id

Advertisement

Summery Summery

Filters the attachment ID for a cropped image.

Syntax Syntax

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

Parameters Parameters

$attachment_id

(int) The attachment ID of the cropped image.

$context

(string) The Customizer control requesting the cropped image.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.