Inventory_Presser_Plugin::change_post_updated_messages( array $msgs )

Changes the messages shown to users in the editor when changes are made to the post object.


Parameters

$msgs

(array) (Required)


Return

(array)


Source

File: inventory-presser.php

		/**
		 * Fires on the plugins_loaded hook. Runs the invp_loaded action hook for
		 * all add-ons.
		 *
		 * @return void
		 */
		public function loaded() {
			// Fire an action hook after Inventory Presser is finished loading.
			do_action( 'invp_loaded' );
		}

		/**
		 * Add hooks that power our integrations with other plugins.
		 *
		 * @return void
		 */
		public function load_integrations() {
			static $active_plugins = array();
			if ( empty( $active_plugins ) ) {
				$active_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins' ) );
			}

			if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
				include_once ABSPATH . '/wp-admin/includes/plugin.php';
			}

			// WP All Import.
			$plugin_path = 'wp-all-import-pro/wp-all-import-pro.php';
			if ( in_array( $plugin_path, $active_plugins, true )
				|| is_plugin_active_for_network( $plugin_path ) ) {
				$wp_all_import = new Inventory_Presser_WP_All_Import();
				$wp_all_import->add_hooks();
			}