woocommerce_after_template_part

The WooCommerce woocommerce after template part hook.

Description

do_action( 'woocommerce_after_template_part', (string) $template_name, (unknown) $template_path, (unknown) $located, (unknown) $args ); 

Parameters (4)

0. $template_name (string)
The template name.
1. $template_path (unknown)
The template path.
2. $located (unknown)
The located.
3. $args (unknown)
The args.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'woocommerce_after_template_part', $template_name, $template_path, $located, $args ); 
The following example is for adding a hook callback.
  1. // define the woocommerce_after_template_part callback 
  2. function action_woocommerce_after_template_part( $template_name, $template_path, $located, $args ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'woocommerce_after_template_part', 'action_woocommerce_after_template_part', 10, 4 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'woocommerce_after_template_part', 'action_woocommerce_after_template_part', 10, 4 ); 

Defined (1)

The action is defined in the following location(s).

/includes/wc-core-functions.php  
  1. do_action( 'woocommerce_after_template_part', $template_name, $template_path, $located, $args );