media_view_strings

Advertisement

Summery Summery

Filters the media view strings.

Syntax Syntax

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

Parameters Parameters

$strings

(string[]) Array of media view strings keyed by the name they'll be referenced by in JavaScript.

$post

(WP_Post) Post object.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.