WC_REST_Products_V1_Controller::prepare_item_for_database( WP_REST_Request $request )

Prepare a single product for create or update.


Description Description


Parameters Parameters

$request

(Required) Request object.


Top ↑

Return Return

(WP_Error|stdClass) $data Post object.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php




Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.