Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




register_importer [ WordPress Function ]

register_importer ( $id, $name, $description, $callback )
Parameters:
  • (string) $id Importer tag. Used to uniquely identify importer.
  • (string) $name Importer name and title.
  • (string) $description Importer description.
  • (callback) $callback Callback to run.
Returns:
  • (WP_Error) Returns WP_Error when $callback is WP_Error.
Defined at:



Register importer for WordPress.

Source


<?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 );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics