Skip to content
Next Next commit
Fix delete endpoint
  • Loading branch information
mikachan committed Jan 17, 2024
commit 9f7bde1ecb7a4968aa861dac866109df5c92d872
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ public function delete_item( $request ) {
foreach ( $this->get_font_face_ids( $font_family_id ) as $font_face_id ) {
wp_delete_post( $font_face_id, true );
}

return $deleted;
}

/**
Expand Down