filters过滤器
apply_filters
document_title_separator
过滤文档标题的分隔符。
$sep
(string) 文档标题分隔符。默认'-'.
路径:wp-includes/general-template.php
document_title_parts
过滤文章标题。
$title
(array) The document title parts.
'title'(string) Title of the viewed page.
'page' (string) Optional. Page number if paginated.
'tagline'(string) Optional. Site description when on home page.
'site'(string) Optional. Site title when not on home page.
the_generator
过滤器的输出XHTML发电机标记显示。
$generator_type
(string) The generator output.$type
(string) The type of generator to output. Accepts 'html', 'xhtml', 'atom', 'rss2', 'rdf', 'comment', 'export'.
script_loader_src
过滤脚本加载程序源代码。
$src
(string) Script loader source path.$handle
(string) Script handle.
style_loader_src
过滤器的排队方式的完全限定URL。
$src
(string) The source URL of the enqueued style.$handle
(string) The style's registered handle.
xmlrpc_enabled
$enabled
(bool) Whether XML-RPC is enabled. Default true.
wp_revisions_to_keep
$num
(int) Number of revisions to store.$post
(WP_Post) Post object.