Skip to content

Commit

Permalink
Register the font collections REST controller
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Feb 6, 2024
1 parent ea3c85b commit e29efe7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/wp-includes/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,10 @@ function create_initial_rest_routes() {
// Navigation Fallback.
$controller = new WP_REST_Navigation_Fallback_Controller();
$controller->register_routes();

// Font Collections.
$font_collections_controller = new WP_REST_Font_Collections_Controller();
$font_collections_controller->register_routes();
}

/**
Expand Down

0 comments on commit e29efe7

Please sign in to comment.