$instance
$instance : mixed
Public static variable to hold the single instance of the class.
Class MainWP_Child_Back_Up_WordPress
MainWP BackUpWordPress Extension handler.
sync_others_data(array $information, array $data = array()) : array
Sync the BackUpWordPress plugin settings.
array | $information | Array containing the sync information. |
array | $data | Array containing the BackUpWordPress plugin data to be synced. |
$information Array containing the sync information.
render_table_excluded(string $root_dir, object $schedule, object $excludes, object $user_excludes, string $new_version)
Render table of the excluded items.
string | $root_dir | Root directory. |
object | $schedule | Object containng the schedule data. |
object | $excludes | Files to exclude. |
object | $user_excludes | Excluded by user. |
string | $new_version | New version. |
render_table_files(object $files, object $schedule, string $directory, string $root_dir, string $new_version, integer $site_size, boolean $is_size_calculated)
Render the files table.
object | $files | Backup files. |
object | $schedule | Object containng the schedule data. |
string | $directory | Backups directory. |
string | $root_dir | Site root directory. |
string | $new_version | New version. |
integer | $site_size | Site size. |
boolean | $is_size_calculated | Check if the size is calculated. |
render_table_header_files(string $root_dir, string $directory, object $schedule, string $new_version, integer $site_size, boolean $is_size_calculated)
Render the backup table header.
string | $root_dir | Site root directory. |
string | $directory | Backups directory. |
object | $schedule | Object containng the schedule data. |
string | $new_version | New version. |
integer | $site_size | Site size. |
boolean | $is_size_calculated | Check if the size is calculated. |
render_table_body_files(object $files, object $schedule, string $root_dir, string $new_version, integer $site_size, boolean $is_size_calculated)
Render the backup table body.
object | $files | Backup files. |
object | $schedule | Object containng the schedule data. |
string | $root_dir | Site root directory. |
string | $new_version | New version. |
integer | $site_size | Site size. |
boolean | $is_size_calculated | Check if the size is calculated. |