Variables

{{ registration_open }}

{{ registration_open }} tells you whether WordPress user registration is enabled.

Example#

phpresources/views/auth/login.php
{{ if registration_open }}  <a href="{{ auth_register_url }}">Create an account</a>{{ /if }}

This value follows the WordPress membership setting.