WordPress at Your Fingertips
filter is not described

woocommerce_analytics_clauses_(type) filter-hook . WC 1.0

Filter SQL clauses by type and context.

Usage

add_filter( 'woocommerce_analytics_clauses_(type)', 'filter_function_name_985', 10, 2 );
function filter_function_name_985( $clauses, $context ){
	// filter...

	return $clauses;
}
$clauses(array)
The original arguments for the request.
$context(string)
The data store context.

Where the hook is called

SqlQuery::get_sql_clause()
woocommerce_analytics_clauses_(type)
woocommerce/packages/woocommerce-admin/src/API/Reports/SqlQuery.php 114
$clauses = apply_filters( "woocommerce_analytics_clauses_{$type}", $clauses, $this->context );

Where in WP core the hook is used WooCommerce

Usage not found.