Automattic\WooCommerce\Blocks\Templates

AbstractPageTemplate::is_active_template()protectedWC 1.0

Should return true on pages/endpoints/routes where the template should be shown.

Method of the class: AbstractPageTemplate{}

No Hooks.

Return

true|false.

Usage

// protected - for code of main (parent) or child class
$result = $this->is_active_template();

AbstractPageTemplate::is_active_template() code WC 9.4.2

abstract protected function is_active_template();