WordPress获取注册地址函数:wp_registration_url
WordPress模板函数wp_registration_url用于输出注册链接,通常用于开放注册的WordP…
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()
类别:WordPress函数讲解、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。

还没有任何评论,赶紧来占个楼吧!