mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
New import system. Very rough draft.
git-svn-id: https://develop.svn.wordpress.org/trunk@2800 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1382,4 +1382,16 @@ function documentation_link( $for ) {
|
||||
return;
|
||||
}
|
||||
|
||||
function register_importer($id, $name, $description, $callback) {
|
||||
global $wp_importers;
|
||||
|
||||
$wp_importers[$id] = array($name, $description, $callback);
|
||||
}
|
||||
|
||||
function get_importers() {
|
||||
global $wp_importers;
|
||||
|
||||
return $wp_importers;
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user