pods_migrate

Include and Init the PodsMigrate class.

Description

pods_migrate( (constant) $type = null, (constant) $delimiter = null, (null) $data = null ); 

Parameters (3)

0. $type — Optional. (constant) => null
Export Type (php, json, sv, xml)
1. $delimiter — Optional. (constant) => null
Delimiter for export type sv
2. $data — Optional. (null) => null
Array of data

Usage

  1. if ( !function_exists( 'pods_migrate' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'pods-custom-content-types-and-fields/includes/classes.php'; 
  3.  
  4. // Export Type (php, json, sv, xml) 
  5. $type = null; 
  6.  
  7. // Delimiter for export type 'sv' 
  8. $delimiter = null; 
  9.  
  10. // Array of data 
  11. $data = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = pods_migrate($type, $delimiter, $data); 
  15.  

Defined (1)

The function is defined in the following location(s).

/includes/classes.php  
  1. function pods_migrate ( $type = null, $delimiter = null, $data = null ) { 
  2. require_once( PODS_DIR . 'classes/PodsMigrate.php' ); 
  3.  
  4. return new PodsMigrate( $type, $delimiter, $data );