AppDisabled
    
            
            in package
            
        
    
            
            implements
                            AppInterface                    
    
    
        
            AppDisabled - A minimal application mode for debugging purposes.
This class provides a stripped-down version of the application that only loads essential configuration (database credentials and WordPress salts) while bypassing the main framework. Use this for debugging hard-to-track issues or when you need to bypass the framework entirely.
WARNING: This should only be used for debugging purposes and at your own risk.
Interfaces, Classes, Traits and Enums
Table of Contents
- $appDirPath : string
 - __construct() : mixed
 - Constructor for the disabled application mode.
 - run() : void
 - Runs the application in disabled mode.
 - wpConfigInit() : void
 - Initializes minimal WordPress configuration.
 - setAppDirectoryPath() : string
 - Sets the application directory path by locating the Composer autoloader.
 
Properties
$appDirPath
    private
        string
    $appDirPath
    
    
        The application directory path
Methods
__construct()
Constructor for the disabled application mode.
    public
                    __construct(string $appDirPath) : mixed
    
        Parameters
- $appDirPath : string
 - 
                    
The directory path for the application
 
Tags
Return values
mixed —run()
Runs the application in disabled mode.
    public
                    run() : void
        Only loads environment variables and basic WordPress configuration (database credentials and salts). The rest of the framework is bypassed.
Tags
Return values
void —wpConfigInit()
Initializes minimal WordPress configuration.
    protected
            static        wpConfigInit() : void
        Sets up database connection constants and authentication cookies using values from the environment file.
Return values
void —setAppDirectoryPath()
Sets the application directory path by locating the Composer autoloader.
    private
            static        setAppDirectoryPath(string $appDirPath) : string
    
        Parameters
- $appDirPath : string
 - 
                    
The initial application directory path
 
Tags
Return values
string —The resolved application directory path