Метод | Описание | |
---|---|---|
constants ( ) | Define all the constants. | |
display_feature_message ( ) | ||
get_instance ( ) : |
Insures we always return the same object. | |
hooks ( ) | Hook into WordPress page lifecycle and execute BackUpWordPress functions. | |
init ( ) | Runs on every admin page load | |
load_first ( ) | Ensure BackUpWordPress is loaded before add-ons, changes the order of the serialized values in the DB field. | |
load_intercom_script ( ) | Load Intercom and send across user information and server info. Only loaded if the user has opted in. | |
maybe_self_deactivate ( ) : boolean | Check plugin requirements. | |
plugins_loaded ( ) | Initialize the plugin. | |
schedule_hook_run ( $schedule_id ) | Function to run when the schedule cron fires. | |
scripts ( $hook ) | Load the Javascript in the admin. | |
styles ( $hook ) | Enqueue the plugin styles. | |
text_domain ( ) | Loads the plugin text domain for translation. | |
upgrade ( ) | Determine if we need to run an upgrade routine. |
Метод | Описание | |
---|---|---|
generate_key ( ) : string | Generate a unique key. | |
includes ( ) | Load all BackUpWordPress functions. |
Метод | Описание | |
---|---|---|
__construct ( ) | Instantiates a new Plugin object. |
protected generate_key ( ) : string | ||
Результат | string |
public static get_instance ( ) : |
||
Результат |
public hooks ( ) |
public load_first ( ) |
public load_intercom_script ( ) |
public maybe_self_deactivate ( ) : boolean | ||
Результат | boolean | True is fails requirements. False otherwise. |
public schedule_hook_run ( $schedule_id ) | ||
$schedule_id |
public scripts ( $hook ) | ||
$hook | The name of the admin page hook. |
public text_domain ( ) |