WC_REST_Taxes_Controller::update_item()
Update a single tax.
Метод класса: WC_REST_Taxes_Controller{}
Хуков нет.
Возвращает
WP_Error|WP_REST_Response
. The response, or an error.
Использование
$WC_REST_Taxes_Controller = new WC_REST_Taxes_Controller(); $WC_REST_Taxes_Controller->update_item( $request );
- $request(WP_REST_Request) (обязательный)
- Full details about the request.
Код WC_REST_Taxes_Controller::update_item() WC REST Taxes Controller::update item WC 8.1.1
public function update_item( $request ) { $this->adjust_cities_and_postcodes( $request ); return parent::update_item( $request ); }