On this page
apply_filters( 'edit_custom_thumbnail_sizes', bool|string[] $edit_custom_sizes )
Filters whether custom sizes are available options for image editing.
Parameters
$edit_custom_sizesbool|string[]-
True if custom sizes can be edited or array of custom size names.
Source
File: wp-admin/includes/image-edit.php. View all references
$edit_custom_sizes = apply_filters( 'edit_custom_thumbnail_sizes', $edit_custom_sizes );
Related
Used By
| Used By | Description |
|---|---|
| wp_image_editor() wp-admin/includes/image-edit.php | Loads the WP image-editing interface. |
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/edit_custom_thumbnail_sizes