prepend_attachment()
apply_filters( ‘prepend_attachment’, string $p )
筛选挂钩:筛选要添加到文章内容前的附件标记。
Filter Hook: Filters the attachment markup to be prepended to the post content.
说明(Description)
另见函数 prepend_attachment()
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$p | (string) | 附件HTML输出。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.0.0 | wp-includes/post-template.php:1690 | 1 | 0 |
prepend_attachment() 为WP2原创文章,链接:https://www.wp2.cn/functions/prepend_attachment/