image_max_bit_depth, 16, 16
image_max_bit_depth, 16, 16
Appears in: gutenberg.23.6.2
Hook Type: filter
Displaying hooks found in version: gutenberg.23.6.2apply_filters('image_max_bit_depth, 16, 16') is found 1 times:
- /lib/media/load.php line 187
* filtered value, so a plugin lowering it (e.g. to 8) takes effect on * client-generated images too. */ /** This filter is documented in wp-includes/class-wp-image-editor-imagick.php */ $image_max_bit_depth = (int) apply_filters( 'image_max_bit_depth', 16, 16 ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound if ( current_user_can( 'upload_files' ) ) { $response->data['image_sizes'] = gutenberg_get_all_image_sizes(); $response->data['image_size_threshold'] = $image_size_threshold; $response->data['image_strip_meta'] = $image_strip_meta; $response->data['image_max_bit_depth'] = $image_max_bit_depth;