wp_registration_url()

WordPress获取注册地址函数

WordPress模板函数wp_registration_url用于输出注册链接,通常用于开放注册的WordPress站点。

wp_registration_url()

wp_registration_url()函数没有参数,返回注册页面的URL。

wp_registration_url()函数使用示例:

<a href="<?php echo wp_registration_url(); ?>">注册</a>

扩展阅读

wp_registration_url()函数位于:wp-includes/general-template.php

相关函数:

is_user_logged_in()
wp_login_form()
wp_loginout()
wp_logout()
wp_register()
wp_login_url()
wp_logout_url()
wp_lostpassword_url()

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索