media_view_strings WordPress Filter Hook

This hook is used to display information about a specific media attachment. It is used to generate the output for the media_view_strings hook.

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 on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More