wc_admin_reports_path filter-hookWC 1.0

Usage

add_filter( 'wc_admin_reports_path', 'wp_kama_wc_admin_reports_path_filter', 10, 3 );

/**
 * Function for `wc_admin_reports_path` filter-hook.
 * 
 * @param  $string 
 * @param  $name   
 * @param  $class  
 *
 * @return 
 */
function wp_kama_wc_admin_reports_path_filter( $string, $name, $class ){

	// filter...
	return $string;
}
$string
-
$name
-
$class
-

Where the hook is called

WC_Admin_Reports::get_report()
wc_admin_reports_path
woocommerce/includes/admin/class-wc-admin-reports.php 170
include_once apply_filters( 'wc_admin_reports_path', 'reports/class-wc-report-' . $name . '.php', $name, $class );

Where the hook is used in WooCommerce

Usage not found.