Inventory_Presser_Plugin::load_integrations()

Add hooks that power our integrations with other plugins.


Return

(void)


Source

File: inventory-presser.php

			// Classic Editor.
			$plugin_path = 'classic-editor/classic-editor.php';
			if ( in_array( $plugin_path, $active_plugins, true )
				|| is_plugin_active_for_network( $plugin_path ) ) {
				$classic_editor = new Inventory_Presser_Classic_Editor();
				$classic_editor->add_hooks();
			}
		}

		/**
		 * 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 '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',
				'admin/class-admin-settings-suggester.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',