\MainWP\ChildMainWP_Child_DB_Updater

Class MainWP_Child_DB_Updater

MainWP Database Updater extension handler.

Summary

Methods
Properties
Constants
instance()
__construct()
sync_others_data()
action()
get_sync_data()
update_db()
$instance
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$instance

$instance : mixed

Public static variable to hold the single instance of the class.

Type

mixed — Default null

Methods

instance()

instance() : mixed

Method instance()

Create a public static instance.

Returns

mixed —

Class instance.

__construct()

__construct() : void

Constructor.

Run any time class is called.

sync_others_data()

sync_others_data(array  $information, array  $data = array()) : array

Method sync_others_data()

Sync data to & from the MainWP Dashboard.

Parameters

array $information

Array containing the data to be sent to the Dashboard.

array $data

Array containing the data sent from the Dashboard; to be saved to the Child Site.

Returns

array —

$information Array containing the data to be sent to the Dashboard.

action()

action() 

Method action()

Fire off certain branding actions.

get_sync_data()

get_sync_data() 

Get sync data.

update_db()

update_db() : array

Method update_db()

Update DB.

Returns

array —

Action result.