classes/PodsAPI.php
public function import_package( $data = false, $replace = false ) {

		if ( class_exists( 'Pods_Migrate_Packages' ) ) {
			return Pods_Migrate_Packages::import( $data, $replace );
		}

		return false;
	}
public function import_package( $data = false, $replace = false ) {

		if ( class_exists( 'Pods_Migrate_Packages' ) ) {
			return Pods_Migrate_Packages::import( $data, $replace );
		}

		return false;
	}
public function import_package ( $ data = false , $ replace = false ) { if ( class_exists ( 'Pods_Migrate_Packages' ) ) { return Pods_Migrate_Packages :: import ( $ data , $ replace ) ; } return false ; }
Import a package

@param mixed $data    (optional) An associative array containing a package, or the json encoded package
@param bool  $replace (optional) Replace existing items when found

@return bool

@since      1.9.0
@deprecated 2.0.0
Import a package