post_gallery

post_gallery钩子是Wordpress钩子,过滤器挂钩:过滤默认的库快捷方式输出。

apply_filters( ‘post_gallery’, string $output, array $attr, int $instance )

说明(Description)

如果过滤后的输出不是空的,将使用它而不是生成默认的库模板。


参数(Parameters)

参数类型说明
$output(string)画廊输出。默认为空。
$attr(array)库快捷方式的属性。
$instance(int)此库快捷方式实例的唯一数字标识。

源码(Source)

//暂无
更新版本源码位置使用被使用
4.2.0wp-includes/media.php:188910
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索