woocommerce_api_customer_downloads_response

woocommerce_api_customer_downloads_response

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_customer_downloads_response') is found 2 times:

  • /includes/legacy/api/v2/class-wc-api-customers.php line 536
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
                'file'                => $download['file'],
            );
        }
     
        return array( 'downloads' => apply_filters( 'woocommerce_api_customer_downloads_response', $downloads, $id, $fields, $this->server ) );
    }
     
    /**
     * Helper method to get customer user objects
     *
     * Note that WP_User_Query does not have built-in pagination so limit & offset are used to provide limited
  • /includes/legacy/api/v3/class-wc-api-customers.php line 521
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
                'file'                => $download['file'],
            );
        }
     
        return array( 'downloads' => apply_filters( 'woocommerce_api_customer_downloads_response', $downloads, $id, $fields, $this->server ) );
    }
     
    /**
     * Helper method to get customer user objects
     *
     * Note that WP_User_Query does not have built-in pagination so limit & offset are used to provide limited