| @@ -136,9 +136,11 @@ | ||
| 136 | 136 | |
| 137 | 137 | require_once plugin_dir_path( dirname( __FILE__ ) ) . 'tgm-pa/configuration.php'; |
| 138 | 138 | |
| 139 | 139 | require_once plugin_dir_path( dirname( __FILE__ ) ) . 'filters.php'; |
| 140 | - | |
| 140 | + | |
| 141 | + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'actions.php'; | |
| 142 | + | |
| 141 | 143 | require_once plugin_dir_path( dirname( __FILE__ ) ) . 'custom_post_type.php'; |
| 142 | 144 | |
| 143 | 145 | require_once plugin_dir_path( dirname( __FILE__ ) ) . 'custom_user_roles.php'; |
| 144 | 146 | |
| @@ -149,8 +151,11 @@ | ||
| 149 | 151 | |
| 150 | 152 | // Shortcodes |
| 151 | 153 | require_once plugin_dir_path( dirname( __FILE__ ) ) . 'shortcodes/shortcodes-init.php'; |
| 152 | 154 | |
| 155 | + // Dash Widgets | |
| 156 | + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'dash-widgets/dash-widgets-init.php'; | |
| 157 | + | |
| 153 | 158 | // Widgets |
| 154 | 159 | require_once plugin_dir_path( dirname( __FILE__ ) ) . 'widgets/widgets-init.php'; |
| 155 | 160 | |
| 156 | 161 | // Load Elementor Elements |
| @@ -155,8 +160,14 @@ | ||
| 155 | 160 | |
| 156 | 161 | // Load Elementor Elements |
| 157 | 162 | require_once plugin_dir_path( dirname( __FILE__ ) ) . 'elementor-elements/elementor-init.php'; |
| 158 | 163 | |
| 164 | + // Load Blocks | |
| 165 | + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'blocks/blocks-init.php'; | |
| 166 | + | |
| 167 | + // Load Blocks | |
| 168 | + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'rest_api.php'; | |
| 169 | + | |
| 159 | 170 | $this->loader = new Wpdirectorykit_Loader(); |
| 160 | 171 | //global $Winter_MVC; |
| 161 | 172 | |
| 162 | 173 | } |
| @@ -167,8 +178,12 @@ | ||
| 167 | 178 | |
| 168 | 179 | if(empty($Winter_MVC_WDK)) |
| 169 | 180 | { |
| 170 | 181 | $Winter_MVC_WDK = new MVC_Loader(plugin_dir_path( __FILE__ ).'../'); |
| 182 | + } | |
| 183 | + else | |
| 184 | + { | |
| 185 | + $Winter_MVC_WDK->plugin_directory = plugin_dir_path( __FILE__ ).'../'; | |
| 171 | 186 | } |
| 172 | 187 | |
| 173 | 188 | $Winter_MVC_WDK->load_helper('basic'); |
| 174 | 189 | } |