\Barn2\Plugin\WC_Protected_CategoriesTemplate_Handler

Handles the protection of product categories and products by overriding the template or main query for the current page.

Summary

Methods
Properties
Constants
__construct()
register()
protect_shop_pages()
add_password_required_class()
meta_robots_noindex_head()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
handle_password_protection()
handle_user_protection()
get_login_url_with_current_page_redirect()
handle_404()
prevent_indexing()
prevent_caching()
$password_form
N/A

Properties

$password_form

$password_form :

Type

Methods

register()

register()

protect_shop_pages()

protect_shop_pages()

add_password_required_class()

add_password_required_class(  $classes)

Parameters

$classes

meta_robots_noindex_head()

meta_robots_noindex_head()

handle_password_protection()

handle_password_protection()

handle_user_protection()

handle_user_protection()

get_login_url_with_current_page_redirect()

get_login_url_with_current_page_redirect()

handle_404()

handle_404()

prevent_indexing()

prevent_indexing()

prevent_caching()

prevent_caching()