过滤搜索表单的HTML格式。
原型
apply_filters( 'search_form_format', string $format )
参数
$format
(string)
要在搜索表单中使用的标记类型。接受’html5’,‘xhtml’。
源文件
路径:wp-includes/general-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/search_form_format/
过滤搜索表单的HTML格式。
apply_filters( 'search_form_format', string $format )
$format
(string)
要在搜索表单中使用的标记类型。接受’html5’,‘xhtml’。
路径:wp-includes/general-template.php
英文文档:https://developer.wordpress.org/reference/hooks/search_form_format/
请在后台设置小工具!