WC_REST_Posts_Controller::update_post_meta_fields()protectedWC 1.0

Update post meta fields.

Method of the class: WC_REST_Posts_Controller{}

No Hooks.

Return

true|false|WP_Error.

Usage

// protected - for code of main (parent) or child class
$result = $this->update_post_meta_fields( $post, $request );
$post(WP_Post) (required)
Post object.
$request(WP_REST_Request) (required)
Request object.

WC_REST_Posts_Controller::update_post_meta_fields() code WC 8.9.0

protected function update_post_meta_fields( $post, $request ) {
	return true;
}