gspc_template_override

  1. Description
  2. Usage
  3. Parameters
  4. Since

Description

Filter the contents of an intercepted WooCommerce template.

Usage

Applied globally

add_filter( 'gspc_template_override', 'my_custom_function' );

Parameters

$flushed string

The template contents.

$template_name string

The template name.

$template_path string

The template path.

$located string

The located template path.

$args array<string, mixed>

The template arguments.

Since

  • 1.0-beta-1 Hook added.