Form
1 week ago
Migrations
1 week ago
Option
1 week ago
Route
1 week ago
Tab
1 week ago
Forms.php
1 week ago
Menu.php
1 week ago
MigrationsManager.php
1 week ago
Page.php
1 week ago
Routes.php
1 week ago
Tabs.php
1 week ago
Tabs.php
32 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPDesk\FCF\Free\Settings; |
| 4 | |
| 5 | use WPDesk\FCF\Free\Settings\Tab\AdvancedTab; |
| 6 | use WPDesk\FCF\Free\Settings\Tab\AppearanceTab; |
| 7 | use WPDesk\FCF\Free\Settings\Tab\DisplayTab; |
| 8 | use WPDesk\FCF\Free\Settings\Tab\GeneralTab; |
| 9 | use WPDesk\FCF\Free\Settings\Tab\LogicTab; |
| 10 | use WPDesk\FCF\Free\Settings\Tab\PricingTab; |
| 11 | use WPDesk\FCF\Free\Settings\Tab\TabIntegration; |
| 12 | |
| 13 | /** |
| 14 | * Supports management for settings tabs of field. |
| 15 | */ |
| 16 | class Tabs { |
| 17 | |
| 18 | /** |
| 19 | * Initializes actions for class. |
| 20 | * |
| 21 | * @return void |
| 22 | */ |
| 23 | public function init() { |
| 24 | ( new TabIntegration( new GeneralTab() ) )->hooks(); |
| 25 | ( new TabIntegration( new AdvancedTab() ) )->hooks(); |
| 26 | ( new TabIntegration( new AppearanceTab() ) )->hooks(); |
| 27 | ( new TabIntegration( new DisplayTab() ) )->hooks(); |
| 28 | ( new TabIntegration( new LogicTab() ) )->hooks(); |
| 29 | ( new TabIntegration( new PricingTab() ) )->hooks(); |
| 30 | } |
| 31 | } |
| 32 |