apply_filters( 'wp_client_side_media_processing_enabled', bool $enabled )
- Since
- 7.1.0
Filters whether client-side media processing is enabled.
Compatibility
- WordPress
- since 7.1.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in 1 of the 5 tracked releases, added in 7.1.0.
Parameters
$enabledbool- Whether client-side media processing is enabled. Default true if the page is served in a secure context.
Where this hook fires · 1
wp-includes/media.php:6592wp_is_client_side_media_processing_enabled()
Source code
* Filters whether client-side media processing is enabled. * * @since 7.1.0 * * @param bool $enabled Whether client-side media processing is enabled. Default true if the page is served in a secure context. */ return (bool) apply_filters( 'wp_client_side_media_processing_enabled', $enabled );} /** * Sets a global JS variable to indicate that client-side media processing is enabled. * * @since 7.1.0Changelog
Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.