wc_ps_get_results_header_tpl

Wc_ps_get_results_header_tpl().

Description

wc_ps_get_results_header_tpl( (array) $args = array() ); 

Parameters (1)

0. $args — Optional. (array) => array()
The args.

Usage

  1. if ( !function_exists( 'wc_ps_get_results_header_tpl' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-predictive-search-lite/includes/wc-predictive-template-functions.php'; 
  3.  
  4. // The args. 
  5. $args = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wc_ps_get_results_header_tpl($args); 
  9.  

Defined (1)

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

/includes/wc-predictive-template-functions.php  
  1. function wc_ps_get_results_header_tpl( $args = array() ) { 
  2. if ( ! is_array( $args ) ) { 
  3. $args = array(); 
  4.  
  5. wc_ps_get_template( 'results-page/header.php',  
  6. apply_filters( 'wc_ps_results_header_tpl_args', $args ) 
  7. );