\MainWP\ChildMainWP_Child_Bulk_Settings_Manager

Class MainWP_Child_Bulk_Settings_Manager

Handles connecting to the child site as a browser in order performs an HTTP request using the POST method and returns its response.

Summary

Methods
Properties
Constants
instance()
action()
save_settings()
$instance
$information
$plugin_translate
No constants found
visit_site_as_browser()
No protected properties found
N/A
wp_create_nonce_recursive()
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

$information

$information : array

Public statis variable containing the synchronization information.

Type

array — Synchronization information.

$plugin_translate

$plugin_translate : string

Public variable to hold the information about the language domain.

Type

string — 'mainwp-child' languge domain.

Methods

action()

action() 

Save Settings & Visit Site as Browser actions.

save_settings()

save_settings() : array|boolean|array<mixed,string>

Save site settings.

Returns

array|boolean|array<mixed,string> —

Result array ok|error or FALSE or $whitelist_options[].

visit_site_as_browser()

visit_site_as_browser() : array|array<mixed,string>

Visit site as a browser.

Returns

array|array<mixed,string> —

Response array or Error message string within an array.

wp_create_nonce_recursive()

wp_create_nonce_recursive(array  $arr) : array

Create WP nonce.

Parameters

array $arr

An array containing the nonce.

Returns

array —

An array containing the nonce.