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

Filters the media view strings.


Parameters

$strings string[]
Array of media view strings keyed by the name they'll be referenced by in JavaScript.
$post WP_Post
Post object.

Top ↑

Source

File: wp-includes/media.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes

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