Property | Type | Description | |
---|---|---|---|
$name | string | The plugin name. |
Property | Type | Description | |
---|---|---|---|
$instance | Papi_Loader | The instance of Papi loader class. |
Method | Description | |
---|---|---|
__call ( string $name, array $arguments ) : mixed | Call function in the container. | |
__clone ( ) | Cloning is forbidden. | |
__wakeup ( ) | Unserializing instances of this class is forbidden. | |
deactivate ( ) | Deactivate Papi if the WordPress version is lower then 4.0. | |
instance ( ) : Papi_Loader | Papi loader instance. |
Method | Description | |
---|---|---|
__construct ( ) | The constructor. | |
constants ( ) | Bootstrap constants | |
define ( string $name, string | boolean $value ) | Define constant if not already set. | |
init ( ) | Initialise Papi. | |
load_textdomain ( ) | Load Localisation files. | |
require_files ( ) | Require files. | |
setup_container ( ) | Setup container. |
public static deactivate ( ) |
public static instance ( ) : Papi_Loader | ||
return | Papi_Loader |
protected load_textdomain ( ) |
protected static Papi_Loader $instance | ||
return | Papi_Loader |