get_importers

Retrieve list of importers.

Description

(array) get_importers(); 

Returns (array)


Usage

  1. if ( !function_exists( 'get_importers' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/import.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = get_importers(); 
  7.  

Defined (1)

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

/wp-admin/includes/import.php  
  1. function get_importers() { 
  2. global $wp_importers; 
  3. if ( is_array( $wp_importers ) ) { 
  4. uasort( $wp_importers, '_usort_by_first_member' ); 
  5. return $wp_importers;