MainWP Child Documentation

MainWP_Child_WP_Seopress

Class MainWP_Child_WP_Seopress

MainWP WP Seopress Extension handler.

Table of Contents

Properties

$instance  : mixed
Public static variable to hold the single instance of the class.

Methods

action()  : mixed
Fire off certain SEOPRESS plugin actions.
export_settings()  : mixed
Import the SEOPRESS plugin settings.
flush_rewrite_rules()  : array<string|int, mixed>
Flush rewrite rules
import_settings()  : mixed
Import the SEOPRESS plugin settings.
instance()  : mixed
Method instance()
reset_pro_licence()  : array<string|int, mixed>
Reset pro licence
save_pro_licence()  : array<string|int, mixed>
Save pro licence
sync_settings()  : array<string|int, mixed>
Sync settings
is_seopress_pro_version_active()  : bool
Check if Pro Version is active
sanitize_options()  : array<string|int, mixed>
Sanitize the fields before saving

Properties

Methods

flush_rewrite_rules()

Flush rewrite rules

public flush_rewrite_rules() : array<string|int, mixed>
Tags
used-by

MainWP_Child_WP_Seopress::action() Fire off certain SEOPRESS plugin actions.

Return values
array<string|int, mixed>

import_settings()

Import the SEOPRESS plugin settings.

public import_settings() : mixed
Tags
used-by

MainWP_Child_WP_Seopress::action() Fire off certain SEOPRESS plugin actions.

instance()

Method instance()

public static instance() : mixed

Create a public static instance.

Return values
mixed

Class instance.

reset_pro_licence()

Reset pro licence

public reset_pro_licence() : array<string|int, mixed>
Tags
used-by

MainWP_Child_WP_Seopress::action() Fire off certain SEOPRESS plugin actions.

Return values
array<string|int, mixed>

save_pro_licence()

Save pro licence

public save_pro_licence() : array<string|int, mixed>
Tags
used-by

MainWP_Child_WP_Seopress::action() Fire off certain SEOPRESS plugin actions.

Return values
array<string|int, mixed>

is_seopress_pro_version_active()

Check if Pro Version is active

protected is_seopress_pro_version_active() : bool
Return values
bool

sanitize_options()

Sanitize the fields before saving

private sanitize_options(mixed $option) : array<string|int, mixed>
Parameters
$option : mixed
Return values
array<string|int, mixed>

        
On this page

Search results