Inventory_Presser_Plugin::include_dependencies()
Includes all the includes! This function loads all the other PHP files that contain this plugin’s code.
Return Return
(void)
Source Source
File: inventory-presser.php
// Divi. $divi = new Inventory_Presser_Divi(); $divi->add_hooks(); // Gravity Forms. $plugin_path = 'gravityforms/gravityforms.php'; if ( in_array( $plugin_path, $active_plugins, true ) || is_plugin_active_for_network( $plugin_path ) ) { GF_Fields::register( new GF_Field_Vehicle() ); } } /** * Load plugin textdomain. * * @return void */ public function load_textdomain() { load_plugin_textdomain( 'inventory-presser', false, dirname( INVP_PLUGIN_FILE_PATH ) . '/languages' ); } /** * Includes all the includes! This function loads all the other PHP files * that contain this plugin's code. * * @return void */ protected function include_dependencies() { // include composer dependencies. include_once plugin_dir_path( INVP_PLUGIN_FILE_PATH ) . 'vendor/autoload.php'; // Include our object definition dependencies. $file_names = array( 'class-add-custom-fields-to-search.php', 'addon/class-addon-license-validator.php', 'addon/class-addon-license.php', 'addon/class-addon-updater.php', 'addon/class-addon.php', 'admin/class-admin-bar.php', 'admin/class-admin-editor-sidebar.php', 'admin/class-admin-location-meta.php', 'admin/class-admin-options.php', 'admin/class-admin-photo-arranger.php', 'admin/class-admin-posts-list.php', 'class-additional-listings-pages.php', 'class-allow-inventory-as-home-page.php', 'class-badges.php', 'class-blocks.php', 'class-business-day.php', 'class-invp.php', 'class-menu-item-email-a-friend.php', 'class-menu-item-print.php', 'class-option-manager.php', 'class-photo-numberer.php', 'class-range-filters.php', 'class-redirect-404-vehicles.php', 'class-rest.php', 'class-schema-org-generator.php', 'class-site-health.php', 'integrations/class-avada.php', 'integrations/class-classic-editor.php', 'integrations/class-divi.php', 'integrations/class-forms-integration.php', 'integrations/class-contact-form-7.php', 'integrations/class-gravityforms-field-vehicle.php', 'integrations/class-wp-all-import.php', 'integrations/class-wpforms.php', 'shortcode/class-shortcode-hours-today.php', 'shortcode/class-shortcode-iframe.php', 'shortcode/class-shortcode-inventory-grid.php', 'shortcode/class-shortcode-inventory-slider.php', 'shortcode/class-shortcode-photo-slider.php', 'shortcode/class-shortcode-archive.php', 'shortcode/class-shortcode-archive-vehicle.php', 'shortcode/class-shortcode-attribute-table.php', 'shortcode/class-shortcode-single-vehicle.php',
Expand full source codeCollapse full source codeView on Github