wc_get_template_part

wc_get_template_part

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('wc_get_template_part') is found 1 times:

  • /includes/wc-core-functions.php line 281
    		$template = wc_untokenize_path( $template, wc_get_path_define_tokens() );
    	}
    
    	// Allow 3rd party plugins to filter template file from their plugin.
    	$template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
    
    	if ( $template ) {
    		load_template( $template, false );
    	}
    }