WordPress获取注册地址标签:wp_registration_url

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

相关函数:

阿里云