Switch language

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




get_wp_title_rss [ WordPress Function ]

get_wp_title_rss ( $sep = '»' )
Parameters:
  • (string) $sep Optional.How to separate the title. See wp_title() for more info.
Uses:
Returns:
  • (string) Error message on failure or blog title on success.
Defined at:



Retrieve the blog title for the feed title.

Source


<?php
function get_wp_title_rss($sep '&#187;') {
    
$title wp_title($sepfalse);
    if ( 
is_wp_error$title ) )
        return 
$title->get_error_message();
    
$title apply_filters('get_wp_title_rss'$title);
    return 
$title;
}
?>

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