首页 WordPress函数大全 get_edit_profile_url()

get_edit_profile_url()

2020-05-01 / 3569阅 / 悠然

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

get_edit_profile_url( int $user_id, string $scheme = 'admin' )

Retrieves the URL to the user’s profile editor.

描述

参数

$user_id

(int)
(Optional)
User ID. Defaults to current user.

$scheme

(string)
(Optional)
The scheme to use. Default is 'admin', which obeys force_ssl_admin() and is_ssl(). 'http' or 'https' can be passed to force those schemes.

Default value: 'admin'

返回

(string) Dashboard URL link with optional path appended.

大家谈论
    我的见解