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
$me
Singleton instance.
private
static ComingSoonPlugins
$me
= null
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
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 .
public
cmp_before_header_scripts() : mixed
Tags
cmp_save_settings()
When updating the "CMP – Coming Soon & Maintenance Plugin by NiteoThemes" plugin options, add the preview to the scanner.
public
cmp_save_settings() : mixed
Tags
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
getPluginConstantPrefix()
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
public
getPluginConstantPrefix() : string
Tags
Return values
stringinit()
Register hooks in `init` action.
public
init() : mixed
maintenance_load_custom_style()
Enqueue the cookie banner on 'Maintenance' plugin . With this hook, we are in the `<head` section .
public
maintenance_load_custom_style() : mixed
Tags
update_option_maintenance_options()
When updating the "Maintenance" plugin options, add the preview to the scanner.
public
update_option_maintenance_options() : mixed
Tags
update_option_wpmm_settings()
When updating the "WP Maintenance Mode & Coming Soon" plugin options, add the preview to the scanner.
public
update_option_wpmm_settings() : mixed
Tags
getPreviewUrlForCmpPlugin()
Get preview URL for "CMP – Coming Soon & Maintenance Plugin by NiteoThemes" plugin.
protected
getPreviewUrlForCmpPlugin() : mixed
Tags
getPreviewUrlForMaintenancePlugin()
Get preview URL for "Maintenance" plugin.
protected
getPreviewUrlForMaintenancePlugin() : mixed
Tags
getPreviewUrlForSeedProdPlugin()
Get preview URL for "Website Builder by SeedProd — Theme Builder, Landing Page Builder, Coming Soon Page, Maintenance Mode" plugin.
protected
getPreviewUrlForSeedProdPlugin() : mixed
Tags
getPreviewUrlForWPMaintenanceModePlugin()
Get preview URL for "WP Maintenance Mode & Coming Soon" plugin.
protected
getPreviewUrlForWPMaintenanceModePlugin() : mixed