support-access-manager/support-access-manager.php

24 lines
613 B
PHP
Raw Permalink Normal View History

2025-02-18 19:54:29 -07:00
<?php
/**
* Plugin Name: Support Access Manager
* Description: Create temporary WordPress admin users with expiration and access limits.
* Version: 1.0.0
* Author: Derek Ashauer
* Author URI: https://www.ashwebstudio.com
* License: MIT
2025-02-18 20:45:24 -07:00
*
* @package Support_Access_Manager
2025-02-18 19:54:29 -07:00
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
2025-02-18 20:45:24 -07:00
// Load the class file if it hasn't been loaded yet
2025-02-18 19:54:29 -07:00
if ( ! class_exists( 'Support_Access_Manager' ) ) {
require_once __DIR__ . '/class-support-access-manager.php';
}
2025-02-18 20:45:24 -07:00
// Get or create the instance with default settings
2025-02-19 10:00:01 -07:00
Support_Access_Manager::instance();