PLUGIN_FILE
PLUGIN_FILE
Admin |
Integration |
Category_Prefixer | Responsible for prefixing the names of protected and private categories. |
Category_Protector | This class protects categories (and their products) inside product loops, the main shop page, search results, widgets, navigation menus, and in WooCommerce shortcodes. |
Category_Visibility | This class represents a WooCommerce category with various functions to test its visibility. |
Login_Shortcode | Handles the display and processing of the category login shortcode. |
Loop_Buffer | Creates an output buffer to capture and discard the contents of WooCommerce loop content (i.e. products and categories). |
Password_Form | Handles display and processing of the password form used for password protected categories and products. |
Plugin | The main plugin class. Responsible for setting up to core plugin services. |
Plugin_Factory | Factory to create/return the shared plugin instance. |
Template_Function_Overrides | Includes WooCommerce template function overrides. |
Template_Handler | Handles the protection of product categories and products by overriding the template or main query for the current page. |
Util | Utility functions for WooCommerce Protected Categories. |
wpc(): \Barn2\Plugin\WC_Protected_Categories\Plugin
Helper function to access the shared plugin instance.
The plugin instance.