过滤所请求的用户元数据的值。
原型
apply_filters( "get_the_author_{$field}", string $value, int $user_id, int|bool $original_user_id )
描述
过滤器名称是动态的,取决于函数的$ field参数。
参数
$value
(string)
元数据的价值。
$user_id
(int)
值的用户标识。
$original_user_id
(int|bool)
传递给函数的原始用户ID。
源文件
路径:wp-includes/author-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/get_the_author_field/