On this page
apply_filters( 'media_view_settings', array $settings, WP_Post $post )
Filters the media view settings.
Parameters
$settingsarray-
List of media view settings.
$postWP_Post-
Post object.
Source
File: wp-includes/media.php. View all references
$settings = apply_filters( 'media_view_settings', $settings, $post );
Related
Used By
| Used By | Description |
|---|---|
| wp_enqueue_media() wp-includes/media.php | Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs. |
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/media_view_settings