Template_Handler implements Registerable, Service
Handles the protection of product categories and products by overriding the template or main query for the current page.
Tags
Interfaces, Classes and Traits
- Registerable
- Service
Table of Contents
- $password_form : mixed
- __construct() : mixed
- add_password_required_class() : mixed
- meta_robots_noindex_head() : mixed
- protect_shop_pages() : mixed
- register() : mixed
- get_login_url_with_current_page_redirect() : mixed
- handle_404() : mixed
- handle_password_protection() : mixed
- handle_user_protection() : mixed
- prevent_caching() : mixed
- prevent_indexing() : mixed
Properties
$password_form
private
mixed
$password_form
Methods
__construct()
public
__construct(Password_Form $password_form) : mixed
Parameters
- $password_form : Password_Form
Return values
mixed —add_password_required_class()
public
static add_password_required_class(mixed $classes) : mixed
Parameters
- $classes : mixed
Return values
mixed —meta_robots_noindex_head()
public
meta_robots_noindex_head() : mixed
Return values
mixed —protect_shop_pages()
public
protect_shop_pages() : mixed
Return values
mixed —register()
public
register() : mixed
Return values
mixed —get_login_url_with_current_page_redirect()
private
get_login_url_with_current_page_redirect() : mixed
Return values
mixed —handle_404()
private
handle_404() : mixed
Return values
mixed —handle_password_protection()
private
handle_password_protection() : mixed
Return values
mixed —handle_user_protection()
private
handle_user_protection() : mixed
Return values
mixed —prevent_caching()
private
prevent_caching() : mixed
Return values
mixed —prevent_indexing()
private
prevent_indexing() : mixed