woocommerce_json_search_found_customers хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_json_search_found_customers', 'wp_kama_woocommerce_json_search_found_customers_filter' );

/**
 * Function for `woocommerce_json_search_found_customers` filter-hook.
 * 
 * @param  $found_customers 
 *
 * @return 
 */
function wp_kama_woocommerce_json_search_found_customers_filter( $found_customers ){

	// filter...
	return $found_customers;
}
$found_customers
-

Где вызывается хук

WC_AJAX::json_search_customers()
woocommerce_json_search_found_customers
woocommerce/includes/class-wc-ajax.php 1675
wp_send_json( apply_filters( 'woocommerce_json_search_found_customers', $found_customers ) );

Где используется хук в WooCommerce

Использование не найдено.