media_view_strings
apply_filters( ‘media_view_strings’, string[] $strings , WP_Post $post )
过滤钩子:过滤媒体视图字符串。
Filter Hook: Filters the media view strings.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$strings | (string[]) | 由JavaScript中引用的名称键入的媒体视图字符串数组。 |
$post | (WP_Post) | Post对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.5.0 | wp-includes/media.php:4026 | 1 | 0 |
media_view_strings 为WP2原创文章,链接:https://www.wp2.cn/hook/media_view_strings/