woocommerce_api_endpoints
woocommerce_api_endpoints
apply_filters('woocommerce_api_endpoints') is found 3 times:
- /includes/legacy/api/v1/class-wc-api-server.php line 277
‘/’ => array( array( $this, ‘get_index’ ), self::READABLE ),
);$endpoints = apply_filters( ‘woocommerce_api_endpoints’, $endpoints );
// Normalise the endpoints
foreach ( $endpoints as $route => &$handlers ) {
if ( is_array( $handlers ) && count( $handlers ) <= 2 && isset( $handlers[1] ) && ! is_array( $handlers[1] ) ) { $handlers = array( $handlers ); } [/php] - /includes/legacy/api/v2/class-wc-api-server.php line 275
‘/’ => array( array( $this, ‘get_index’ ), self::READABLE ),
);$endpoints = apply_filters( ‘woocommerce_api_endpoints’, $endpoints );
// Normalise the endpoints
foreach ( $endpoints as $route => &$handlers ) {
if ( is_array( $handlers ) && count( $handlers ) <= 2 && isset( $handlers[1] ) && ! is_array( $handlers[1] ) ) { $handlers = array( $handlers ); } [/php] - /includes/legacy/api/v3/class-wc-api-server.php line 275
‘/’ => array( array( $this, ‘get_index’ ), self::READABLE ),
);$endpoints = apply_filters( ‘woocommerce_api_endpoints’, $endpoints );
// Normalise the endpoints
foreach ( $endpoints as $route => &$handlers ) {
if ( is_array( $handlers ) && count( $handlers ) <= 2 && isset( $handlers[1] ) && ! is_array( $handlers[1] ) ) { $handlers = array( $handlers ); } [/php]