WordPress开发者和主题制作者的搜索引擎



the_meta_key ›

Since2.2.0
已弃用n/a
apply_filters( 'the_meta_key', $html, $key, $value )
参数: (3)
  • (string) $html The HTML output for the li element.
    Required: Yes
  • (string) $key Meta key.
    Required: Yes
  • (string) $value Meta value.
    Required: Yes
定义在:
文档:

Filters the HTML output of the li element in the post custom fields list.





源码

$li_html .= apply_filters( 'the_meta_key', $html, $key, $value );