WordPress at Your Fingertips
filter is not described

woocommerce_api_endpoints filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_api_endpoints', 'filter_function_name_3008' );
function filter_function_name_3008( $endpoints ){
	// filter...

	return $endpoints;
}
$endpoints
-

Where the hook is called

WC_API_Server::get_routes()
woocommerce_api_endpoints
woocommerce/includes/legacy/api/v1/class-wc-api-server.php 277
$endpoints = apply_filters( 'woocommerce_api_endpoints', $endpoints );
woocommerce/includes/legacy/api/v2/class-wc-api-server.php 275
$endpoints = apply_filters( 'woocommerce_api_endpoints', $endpoints );
woocommerce/includes/legacy/api/v3/class-wc-api-server.php 275
$endpoints = apply_filters( 'woocommerce_api_endpoints', $endpoints );

Where in WP core the hook is used WooCommerce

woocommerce/includes/legacy/api/v1/class-wc-api-resource.php 37
add_filter( 'woocommerce_api_endpoints', array( $this, 'register_routes' ) );
woocommerce/includes/legacy/api/v2/class-wc-api-resource.php 36
add_filter( 'woocommerce_api_endpoints', array( $this, 'register_routes' ) );
woocommerce/includes/legacy/api/v3/class-wc-api-resource.php 36
add_filter( 'woocommerce_api_endpoints', array( $this, 'register_routes' ) );