wp_registration_url

函式
wp_registration_url ( No parameters )
返回值
  • (string) User registration URL.
定義位置
相關方法
wp_extract_urlswp_register_duotone_supportwp_registerwpmu_log_new_registrationswp_register_widget_control
引入
3.6.0
棄用
-

wp_registration_url: 這個函式返回註冊頁面的URL。

返回允許使用者在網站上註冊的URL。

function wp_registration_url() {
	/**
	 * Filters the user registration URL.
	 *
	 * @since 3.6.0
	 *
	 * @param string $register The user registration URL.
	 */
	return apply_filters( 'register_url', site_url( 'wp-login.php?action=register', 'login' ) );
}

常見問題

FAQs
檢視更多 >