首页 WordPress函数大全 add_existing_user_to_blog()

add_existing_user_to_blog()

2020-05-02 / 3330阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

add_existing_user_to_blog( array $details = false )

将用户添加到基于> maybe_add_existing_user_to_blog()的博客。

描述

参数

$details

(array)
(Optional)
User details.

Default value: false

返回

(true|WP_Error|void) True>WP_Error object if the user doesn't exist or could not be added. Void if $details array was not provided.

大家谈论
    我的见解