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
author

Barn2 Plugins info@barn2.co.uk

license

GPL-3.0

copyright

Barn2 Media Ltd

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

Methods

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

get_login_url_with_current_page_redirect()

private get_login_url_with_current_page_redirect() : 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
Return values
mixed

Search results