$instance
$instance : mixed
Public static variable to hold the single instance of the class.
Class MainWP_Child_WP_Rocket
MainWP Rocket extension handler.
sync_others_data(array $information, array $data = array()) : array
Method sync_others_data()
Sync the WP Rocket plugin settings.
array | $information | Array containing the sync information. |
array | $data | Array containing the WP Rocekt plugin data to be synced. |
$information Array containing the sync information.
remove_filters_with_method_name(string $hook_name = '', string $method_name = '', integer $priority) : boolean
Method remove_filters_with_method_name()
Remove filters with method name.
string | $hook_name | Contains the hook name. |
string | $method_name | Contains the method name. |
integer | $priority | Contains the priority value. |
Return false if filtr is not set.
all_plugins(array $plugins) : array
Method all_plugins()
Remove the WP Rocket plugin from the list of all plugins when the plugin is hidden.
array | $plugins | Array containing all installed plugins. |
$plugins Array containing all installed plugins without the WP Rocket.