actions-v2
2 weeks ago
active-campaign
1 month ago
admin
1 month ago
advanced-choices
1 month ago
ai
1 month ago
block-parsers
11 months ago
blocks-v2
2 weeks ago
bulk-options
2 years ago
captcha
1 month ago
cli
2 years ago
components
1 month ago
data
1 month ago
deprecated
2 years ago
dev
2 years ago
fields-render-validator
1 year ago
form-record
1 month ago
framework
2 months ago
gateways
1 month ago
html-parser
2 weeks ago
jet-plugins
1 month ago
jet-style
1 month ago
jobs
2 years ago
logger
2 years ago
macros-inserter
1 month ago
multi-gateway
1 month ago
onboarding
1 week ago
option-field
2 weeks ago
option-query
7 months ago
post-type
2 months ago
promo-banner
1 month ago
rest-api
2 years ago
rich-content
2 years ago
sanitize-value
2 weeks ago
security
2 weeks ago
shortcode
1 month ago
switch-page-on-change
1 month ago
switcher
1 month ago
user-journey
1 month ago
validation
1 week ago
verification
1 month ago
webhook
2 years ago
wp-experiments
2 years ago
wysiwyg
2 weeks ago
modules-controller.php
2 months ago
wysiwyg.zip
2 weeks ago
modules-controller.php
72 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace JFB_Modules; |
| 5 | |
| 6 | // If this file is called directly, abort. |
| 7 | if ( ! defined( 'WPINC' ) ) { |
| 8 | die; |
| 9 | } |
| 10 | |
| 11 | use Jet_Form_Builder\Blocks; |
| 12 | use JFB_Components\Module\Module_Controller_It; |
| 13 | use JFB_Components\Module\Module_Controller_Trait; |
| 14 | use Jet_Form_Builder\Gateways\Gateway_Manager; |
| 15 | |
| 16 | class Modules_Controller implements Module_Controller_It { |
| 17 | |
| 18 | use Module_Controller_Trait; |
| 19 | |
| 20 | public function rep_instances(): array { |
| 21 | // backward compatibility |
| 22 | require_once jet_form_builder()->plugin_dir( 'modules/gateways/legacy/gateway-manager.php' ); |
| 23 | |
| 24 | return array( |
| 25 | // core required modules |
| 26 | new Components\Module(), |
| 27 | new Data\Module(), |
| 28 | new Jobs\Module(), |
| 29 | new Jet_Plugins\Module(), |
| 30 | new Logger\Module(), |
| 31 | new Dev\Module(), |
| 32 | new Post_Type\Module(), |
| 33 | new Bulk_Options\Module(), |
| 34 | new Block_Parsers\Module(), |
| 35 | new Webhook\Module(), |
| 36 | new Rest_Api\Module(), |
| 37 | new Option_Query\Module(), |
| 38 | new Blocks\Module(), |
| 39 | new Blocks_V2\Module(), |
| 40 | new Security\Module(), |
| 41 | new Rich_Content\Module(), |
| 42 | new Actions_V2\Module(), |
| 43 | // additional |
| 44 | new Shortcode\Module(), |
| 45 | new Option_Field\Module(), |
| 46 | new Wp_Experiments\Module(), |
| 47 | new Deprecated\Module(), |
| 48 | new Jet_Style\Module(), |
| 49 | new Switch_Page_On_Change\Module(), |
| 50 | new Form_Record\Module(), |
| 51 | new Advanced_Choices\Module(), |
| 52 | new Captcha\Module(), |
| 53 | new Gateway_Manager(), |
| 54 | new Active_Campaign\Module(), |
| 55 | new Verification\Module(), |
| 56 | new Sanitize_Value\Module(), |
| 57 | new Onboarding\Module(), |
| 58 | new Html_Parser\Module(), |
| 59 | new Ai\Module(), |
| 60 | new Validation\Module(), |
| 61 | new Wysiwyg\Module(), |
| 62 | new Switcher\Module(), |
| 63 | new Promo_Banner\Module(), |
| 64 | new Fields_Render_Validator\Module(), |
| 65 | new User_Journey\Module(), |
| 66 | new Multi_Gateway\Module(), |
| 67 | new Macros_Inserter\Module(), |
| 68 | ); |
| 69 | } |
| 70 | |
| 71 | } |
| 72 |