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

$strings = apply_filters( 'media_view_strings', $strings, $post );

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

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