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



pre_user_first_name ›

Since2.0.3
已弃用n/a
apply_filters( 'pre_user_first_name', $first_name )
参数:
  • (string) $first_name The user's first name.
    Required: Yes
定义在:
文档:

Filters a user's first name before the user is created or updated.





源码

$meta['first_name'] = apply_filters( 'pre_user_first_name', $first_name );