Form
3 weeks ago
Migrations
3 weeks ago
Option
3 weeks ago
Route
3 weeks ago
Tab
3 weeks ago
Forms.php
3 weeks ago
Menu.php
3 weeks ago
MigrationsManager.php
3 weeks ago
Page.php
3 weeks ago
Routes.php
3 weeks ago
Tabs.php
3 weeks ago
Routes.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPDesk\FCF\Free\Settings; |
| 4 | |
| 5 | use WPDesk\FCF\Free\Settings\Route\RouteIntegration; |
| 6 | use WPDesk\FCF\Free\Settings\Route\UpdateFormFieldsRoute; |
| 7 | use WPDesk\FCF\Free\Settings\Route\UpdateFormSettingsRoute; |
| 8 | |
| 9 | /** |
| 10 | * Supports management for REST API routes. |
| 11 | */ |
| 12 | class Routes { |
| 13 | |
| 14 | /** |
| 15 | * Initializes actions for class. |
| 16 | * |
| 17 | * @return void |
| 18 | */ |
| 19 | public function init() { |
| 20 | ( new RouteIntegration( new UpdateFormFieldsRoute() ) )->hooks(); |
| 21 | ( new RouteIntegration( new UpdateFormSettingsRoute() ) )->hooks(); |
| 22 | } |
| 23 | } |
| 24 |