apply_filters( ‘media_view_strings’, string[] $strings, WP_Post $post )

In this article

Filters the media view strings.

Parameters

$stringsstring[]
Array of media view strings keyed by the name they’ll be referenced by in JavaScript.
$postWP_Post
Post object.

Source

* @param string[] $strings Array of media view strings keyed by the name they'll be referenced by in JavaScript.

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.