Private_Store extends Plugin_Integration implements Registerable
Private Store Plugin Integration.
Tags
Interfaces, Classes and Traits
- Registerable
Table of Contents
- $plugin_class : string
- The main plugin class to check for existence.
- $plugin_function : string
- The main plugin function to check for existence.
- plugin_is_enabled() : bool
- Check if the plugin is enabled.
- register() : void
- Register the integration.
Properties
$plugin_class
The main plugin class to check for existence.
protected
string
$plugin_class
= ''
$plugin_function
The main plugin function to check for existence.
protected
string
$plugin_function
= '\\Barn2\\Plugin\\WC_Private_Store\\wps'
Methods
plugin_is_enabled()
Check if the plugin is enabled.
public
plugin_is_enabled() : bool
Return values
bool —register()
Register the integration.
public
register() : void
When the store is locked:
- dequeue our assets
- remove our custom dom elements
- override the shortcode output with an empty output.