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



get_the_author_{$field} › WordPress过滤钩子

Since4.3.0
已弃用n/a
apply_filters( "get_the_author_{$field}", $value, $user_id, $original_user_id )
参数: (3)
  • (string) $value The value of the metadata.
    Required: Yes
  • (int) $user_id The user ID for the value.
    Required: Yes
  • (int|false) $original_user_id The original user ID, as passed to the function.
    Required: Yes
定义在:
文档:

Filters the value of the requested user metadata.

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





源码

return apply_filters( "get_the_author_{$field}", $value, $user_id, $original_user_id );