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



the_author_{$field} › WordPress过滤钩子

Since2.8.0
已弃用n/a
apply_filters( "the_author_{$field}", $author_meta, $user_id )
参数: (2)
  • (string) $author_meta The value of the metadata.
    Required: Yes
  • (int|false) $user_id The user ID.
    Required: Yes
定义在:
文档:

Filters the value of the requested user metadata.

The filter name is dynamic and depends on the $field parameter of the function.





源码

echo apply_filters( "the_author_{$field}", $author_meta, $user_id );