Uses
Uses | Description |
---|---|
wp-includes/load.php: is_wp_error() | Check whether variable is a WordPress Error. |
Register importer for WordPress.
(string) (Required) Importer tag. Used to uniquely identify importer.
(string) (Required) Importer name and title.
(string) (Required) Importer description.
(callable) (Required) Callback to run.
File: wp-admin/includes/import.php
function register_importer( $id, $name, $description, $callback ) { global $wp_importers; if ( is_wp_error( $callback ) ) { return $callback; } $wp_importers[ $id ] = array( $name, $description, $callback ); }
Version | Description |
---|---|
2.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/register_importer