protected handle_terms ( integer $post_id, WP_REST_Request $request ) : null | WP_Error | ||
$post_id | integer | The post ID to update the terms form. |
$request | WP_REST_Request | The request object with post and terms data. |
return | null | WP_Error | WP_Error on an error assigning any of the terms, otherwise null. |