Functions

Generates the WXR export file for download

export_wp(array $args) 
since 2.1.0

Parameters

$args

array

Filters defining what should be included in the export

Output list of authors with posts

wxr_authors_list() 
since 3.1.0

Output a cat_name XML tag from a given category object

wxr_cat_name(object $category) 
since 2.1.0

Parameters

$category

object

Category Object

Output a category_description XML tag from a given category object

wxr_category_description(object $category) 
since 2.1.0

Parameters

$category

object

Category Object

Wrap given string in XML CDATA tag.

wxr_cdata(string $str) 
since 2.1.0

Parameters

$str

string

String to wrap in XML CDATA tag.

Ouput all navigation menu terms

wxr_nav_menu_terms() 
since 3.1.0

Output list of taxonomy terms, in XML tag format, associated with a post

wxr_post_taxonomy() 
since 2.3.0

Return the URL of the site

wxr_site_url() : string
since 2.5.0

Returns

stringSite URL.

Output a tag_description XML tag from a given tag object

wxr_tag_description(object $tag) 
since 2.3.0

Parameters

$tag

object

Tag Object

Output a tag_name XML tag from a given tag object

wxr_tag_name(object $tag) 
since 2.3.0

Parameters

$tag

object

Tag Object

Output a term_description XML tag from a given term object

wxr_term_description(object $term) 
since 2.9.0

Parameters

$term

object

Term Object

Output a term_name XML tag from a given term object

wxr_term_name(object $term) 
since 2.9.0

Parameters

$term

object

Term Object

Constants

 

WXR_VERSION

WXR_VERSION