Documentation

ComingSoonPlugins
in package
Uses UtilsProvider

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

Table of Contents

Properties

$me  : ComingSoonPlugins
Singleton instance.

Methods

addHomeUrlToQueue()  : mixed
Add the home URL to the scanner when the maintenance plugin does not provide a "preview" URL.
bypass()  : mixed
Register actions or modify the plugin in that way, that the current request does not get blocked.
cmp_before_header_scripts()  : mixed
Enqueue the cookie banner on 'CMP – Coming Soon & Maintenance Plugin by NiteoThemes' plugin . With this hook, we are in the `<head` section .
cmp_save_settings()  : mixed
When updating the "CMP – Coming Soon & Maintenance Plugin by NiteoThemes" plugin options, add the preview to the scanner.
getComputedUrlsForSitemap()  : array<string|int, string>
The URLs to "Coming soon" preview pages so they can be used e.g. for scanning them.
getInstance()  : mixed
Get singleton instance.
getPluginConstantPrefix()  : string
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
init()  : mixed
Register hooks in `init` action.
maintenance_load_custom_style()  : mixed
Enqueue the cookie banner on 'Maintenance' plugin . With this hook, we are in the `<head` section .
update_option_maintenance_options()  : mixed
When updating the "Maintenance" plugin options, add the preview to the scanner.
update_option_wpmm_settings()  : mixed
When updating the "WP Maintenance Mode & Coming Soon" plugin options, add the preview to the scanner.
getPreviewUrlForCmpPlugin()  : mixed
Get preview URL for "CMP – Coming Soon & Maintenance Plugin by NiteoThemes" plugin.
getPreviewUrlForMaintenancePlugin()  : mixed
Get preview URL for "Maintenance" plugin.
getPreviewUrlForSeedProdPlugin()  : mixed
Get preview URL for "Website Builder by SeedProd — Theme Builder, Landing Page Builder, Coming Soon Page, Maintenance Mode" plugin.
getPreviewUrlForWPMaintenanceModePlugin()  : mixed
Get preview URL for "WP Maintenance Mode & Coming Soon" plugin.

Properties

Methods

addHomeUrlToQueue()

Add the home URL to the scanner when the maintenance plugin does not provide a "preview" URL.

public addHomeUrlToQueue() : mixed

bypass()

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

public bypass() : mixed

getComputedUrlsForSitemap()

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

public getComputedUrlsForSitemap() : array<string|int, string>
Return values
array<string|int, string>

getInstance()

Get singleton instance.

public static getInstance() : mixed
Tags
codeCoverageIgnore

getPluginConstantPrefix()

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

public getPluginConstantPrefix() : string
Tags
codeCoverageIgnore

It only returns a string with the constant prefix

Return values
string

        
On this page

Search results