woocommerce_api_delete_webhook

woocommerce_api_delete_webhook

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_api_delete_webhook') is found 2 times:

  • /includes/legacy/api/v2/class-wc-api-webhooks.php line 322
    		if ( is_wp_error( $id ) ) {
    			return $id;
    		}
    
    		do_action( 'woocommerce_api_delete_webhook', $id, $this );
    
    		$webhook = wc_get_webhook( $id );
    
    		return $webhook->delete( true );
    	}
    
    
  • /includes/legacy/api/v3/class-wc-api-webhooks.php line 322
    		if ( is_wp_error( $id ) ) {
    			return $id;
    		}
    
    		do_action( 'woocommerce_api_delete_webhook', $id, $this );
    
    		$webhook = wc_get_webhook( $id );
    
    		return $webhook->delete( true );
    	}