\DevOwl\RealCookieBanner\compComingSoonPlugins

Provide native integrations to known plugins which provide "Coming soon" or "Maintenance" functionality.

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
init()
bypass()
getComputedUrlsForSitemap()
maintenance_load_custom_style()
cmp_before_header_scripts()
update_option_maintenance_options()
update_option_wpmm_settings()
cmp_save_settings()
getInstance()
No public properties found
No constants found
getPreviewUrlForMaintenancePlugin()
getPreviewUrlForCmpPlugin()
getPreviewUrlForSeedProdPlugin()
getPreviewUrlForWPMaintenanceModePlugin()
No protected properties found
N/A
No private methods found
$me
N/A

Properties

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Returns

string

init()

init()

Register hooks in `init` action.

bypass()

bypass()

Register actions or modify the plugin in that way, that the current request does not get blocked.

getComputedUrlsForSitemap()

getComputedUrlsForSitemap(): array<mixed,string>

The URLs to "Coming soon" preview pages so they can be used e.g. for scanning them.

Returns

array<mixed,string>

maintenance_load_custom_style()

maintenance_load_custom_style()

Enqueue the cookie banner on 'Maintenance' plugin . With this hook, we are in the `<head` section .

cmp_before_header_scripts()

cmp_before_header_scripts()

Enqueue the cookie banner on 'CMP – Coming Soon & Maintenance Plugin by NiteoThemes' plugin . With this hook, we are in the `<head` section .

update_option_maintenance_options()

update_option_maintenance_options()

When updating the "Maintenance" plugin options, add the preview to the scanner.

update_option_wpmm_settings()

update_option_wpmm_settings()

When updating the "WP Maintenance Mode & Coming Soon" plugin options, add the preview to the scanner.

cmp_save_settings()

cmp_save_settings()

When updating the "CMP – Coming Soon & Maintenance Plugin by NiteoThemes" plugin options, add the preview to the scanner.

getInstance()

getInstance()

Get singleton instance.

getPreviewUrlForMaintenancePlugin()

getPreviewUrlForMaintenancePlugin()

Get preview URL for "Maintenance" plugin.

getPreviewUrlForCmpPlugin()

getPreviewUrlForCmpPlugin()

Get preview URL for "CMP – Coming Soon & Maintenance Plugin by NiteoThemes" plugin.

getPreviewUrlForSeedProdPlugin()

getPreviewUrlForSeedProdPlugin()

Get preview URL for "Website Builder by SeedProd — Theme Builder, Landing Page Builder, Coming Soon Page, Maintenance Mode" plugin.

getPreviewUrlForWPMaintenanceModePlugin()

getPreviewUrlForWPMaintenanceModePlugin()

Get preview URL for "WP Maintenance Mode & Coming Soon" plugin.