press_this_suggested_html

press_this_suggested_html钩子是Wordpress钩子,过滤器::过滤编辑器建议内容中使用的默认HTML标记。

apply_filters( ‘press_this_suggested_html’, array $default_html, array $data )

说明(Description)

HTML字符串使用printf格式。过滤后,使用sprintf()在指定位置添加内容。


参数(Parameters)

参数类型说明
$default_html(array)具有三个可能键的关联数组:-“quote”,其中%1$s替换为网站描述或所选内容。-“link”,其中%1$s是link ref,%2$s是链接文本,通常是源页面标题。-“embed”,当源页面提供可嵌入内容时,它包含一个快捷方式。
$data(array)包含源页数据的关联数组。

源码(Source)

//暂无
更新版本源码位置使用被使用
4.2.0wp-admin/includes/class-wp-press-this.php:118300
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索