WC_Protected_Categories

Namespaces

Admin
Integration

Interfaces, Classes and Traits

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.

Table of Contents

PLUGIN_FILE  = __FILE__
PLUGIN_VERSION  = '2.4.2'
wpc()  : Plugin
Helper function to access the shared plugin instance.

Constants

Functions

Search results