W3cubDocs

/WordPress

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

'trashSelected'               => __( 'Move to Trash' ),

Changelog

Version Description
3.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/media_view_settings