Attributes User Access

Attributes User Access

Details
View on WordPress

Attributes User Access is designed to provide an advanced yet lightweight authentication solution for WordPress. It empowers site administrators with detailed control over login processes, enhancing user authentication and access experience.

Core Features

Custom Login Page Creation:

  • Generate fully integrated login pages with WordPress.
  • Use shortcode-based forms for easy theme compatibility.
  • Automatically adapts to WordPress core updates.

Flexible Login Redirection:

  • Redirect native WordPress login requests.
  • Define role-based and context-aware redirection rules.

Developer-Focused Architecture:

  • PSR-4 autoloading and object-oriented design.
  • Extensible with action and filter hooks.
  • Modular components for easy customization.

Performance Optimization:

  • Load scripts selectively to minimize impact.
  • Use transients for caching and improved efficiency.
  • Deploy minified assets with source mapping for production.

Shortcode Usage

Basic login form:

[attributes_login_form]

With parameters:

[attributes_login_form redirect="/dashboard" remember="false"]

Available parameters:

  • redirect, Target URL after login (default : Dashboard)
  • remember, Show “Remember Me” checkbox (default : true)
  • form_id, Custom form identifier (default: attributes_login_form)

Custom Template Override

Create a directory structure in your theme to mirror the plugin’s template location: your-theme/attributes/front/forms/login-form.php

Copy the original template from the plugin (templates/front/forms/login-form.php) to your theme’s directory as a starting point. Customize the template as needed.

The plugin uses a well-structured template with hooks that you can leverage:

  • attrua_login_form_fields – Add custom fields to the form
  • attrua_after_login_form – Add content after the form

Developer Hooks Reference

Available Actions:

  • attrua_before_login_form – Fires before rendering the login form
  • attrua_after_login_form – Fires after rendering the login form
  • attrua_login_failed – Fires when a login attempt fails
  • attrua_successful_login – Fires after successful authentication

Available Filters:

  • attrua_login_form_fields – Modify the login form fields
  • attrua_login_redirect – Customize login redirection
  • attrua_login_error_message – Modify login error messages

Support

Details

Plugin code:
attributes-user-access
Plugin version:
1.2.1
Outdated:
No
WP version:
5.8 or higher
PHP version:
7.4 or higher
Test up to WP version:
6.7.4
Total installations:
20
Last updated:
2025-11-04
Rating:
Times rated:
2
access-control
authentication
login
security