woocommerce_api_index filter-hookWC 1.0

Usage

add_filter( 'woocommerce_api_index', 'wp_kama_woocommerce_api_index_filter' );

/**
 * Function for `woocommerce_api_index` filter-hook.
 * 
 * @param  $available 
 *
 * @return 
 */
function wp_kama_woocommerce_api_index_filter( $available ){

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

Where the hook is called

WC_API_Server::get_index()
woocommerce_api_index
woocommerce/includes/legacy/api/v1/class-wc-api-server.php 483
return apply_filters( 'woocommerce_api_index', $available );
woocommerce/includes/legacy/api/v3/class-wc-api-server.php 511
return apply_filters( 'woocommerce_api_index', $available );
woocommerce/includes/legacy/api/v2/class-wc-api-server.php 509
return apply_filters( 'woocommerce_api_index', $available );

Where the hook is used in WooCommerce

Usage not found.