Property | Type | Description | |
---|---|---|---|
$modules | CPTP_Module[] |
Method | Description | |
---|---|---|
activate ( ) | Activation Hooks This function will browse initialized modules and execute their activation_hook methods. | |
get_instance ( ) | Singleton | |
init ( ) | init | |
set_module ( $name, CPTP_Module $module ) | set module. | |
uninstall ( ) | Uninstall Hooks This function will browse initialized modules and execute their uninstall_hook methods. |
Method | Description | |
---|---|---|
__construct ( ) | ||
init_modules ( ) | initialize modules. | |
load_modules ( ) | Load CPTP_Modules. |
public activate ( ) |
public set_module ( $name, CPTP_Module $module ) | ||
$name | ||
$module | CPTP_Module |
public static uninstall ( ) |