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



pre_user_last_name ›

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

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





源码

$meta['last_name'] = apply_filters( 'pre_user_last_name', $last_name );