get_importers() WordPress Function
The get_importers() function is used to list all available importers for a particular site. This function is useful for plugin and theme developers who need to list all available importers for a particular site.
get_importers() #
Retrieve list of importers.
Return
(array)
Source
File: wp-admin/includes/import.php
function get_importers() {
global $wp_importers;
if ( is_array( $wp_importers ) ) {
uasort( $wp_importers, '_usort_by_first_member' );
}
return $wp_importers;
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |