\MainWP\ChildMainWP_Child_WP_Seopress

Class MainWP_Child_WP_Seopress

MainWP WP Seopress Extension handler.

Summary

Methods
Properties
Constants
instance()
action()
export_settings()
import_settings()
sync_settings()
save_pro_licence()
reset_pro_licence()
flush_rewrite_rules()
$instance
No constants found
is_seopress_pro_version_active()
No protected properties found
N/A
sanitize_options()
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.

action()

action() 

Fire off certain SEOPRESS plugin actions.

export_settings()

export_settings() 

Import the SEOPRESS plugin settings.

Throws

\Exception

Error message.

import_settings()

import_settings() 

Import the SEOPRESS plugin settings.

sync_settings()

sync_settings() : array

Sync settings

Returns

array

save_pro_licence()

save_pro_licence() : array

Save pro licence

Returns

array

reset_pro_licence()

reset_pro_licence() : array

Reset pro licence

Returns

array

flush_rewrite_rules()

flush_rewrite_rules() : array

Flush rewrite rules

Returns

array

is_seopress_pro_version_active()

is_seopress_pro_version_active() : boolean

Check if Pro Version is active

Returns

boolean

sanitize_options()

sanitize_options(\MainWP\Child\mixed<string|\MainWP\Child\array>  $option) : array

Sanitize the fields before saving

Parameters

\MainWP\Child\mixed $option

The option to be sanitized.

Returns

array