WordPress 函数文档

_restore_wpautop_hook()

如果 do_blocks() 需要从 the_content 过滤器中移除 wpautop(),此函数会在之后重新添加它,以用于后续的 the_content 使用。

clean_pre()

接受 wpautop() 中 preg_replace_callback 的匹配数组或字符串。

do_all_pings()

执行所有 pingbacks、enclosures、trackbacks 并发送到 pingback 服务。

get_post_datetime()

获取文章的发布时间或修改时间,返回一个 DateTimeImmutable 对象实例。

get_site_url()

检索 WordPress 应用文件(例如 wp-blog-header.php 或 wp-admin/ 文件夹)可访问的给定站点的 URL。

insert_with_markers()

将字符串数组插入文件(.htaccess),放置在 BEGIN 和 END 标记之间。