# gutenberg/23.3.1/lib/compat/wordpress-7.0/media.php

Gutenberg, version 23.3.1. 28 lines.

- Page: https://pluginprobe.com/plugins/gutenberg/23.3.1/code/lib/compat/wordpress-7.0/media.php
- Raw: https://pluginprobe.com/plugins/gutenberg/23.3.1/raw/lib/compat/wordpress-7.0/media.php
- Modified: 2026-02-25T16:51:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/gutenberg/23.3.1/code/lib/compat/wordpress-7.0/media.php#L10-L20`.

```php
<?php
/**
 * Client-side media processing functions.
 *
 * @package gutenberg
 */

/**
 * Checks whether client-side media processing is enabled.
 *
 * Client-side media processing uses the browser's capabilities to handle
 * tasks like image resizing and compression before uploading to the server.
 *
 * @since 20.8.0
 *
 * @return bool Whether client-side media processing is enabled.
 */
function gutenberg_is_client_side_media_processing_enabled() {
	/**
	 * Filters whether client-side media processing is enabled.
	 *
	 * @since 20.8.0
	 *
	 * @param bool $enabled Whether client-side media processing is enabled. Default true.
	 */
	return apply_filters( 'wp_client_side_media_processing_enabled', true );
}

```
