Switch language

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




get_the_content_feed [ WordPress Function ]

get_the_content_feed ( $feed_type = null )
Parameters:
  • (string) $feed_type The type of feed. rss2 | atom | rss | rdf
Uses:
See:
Defined at:



Retrieve the post content for feeds.

Source


<?php
function get_the_content_feed($feed_type null) {
    if ( !
$feed_type )
        
$feed_type get_default_feed();

    
$content apply_filters('the_content'get_the_content());
    
$content str_replace(']]>'']]&gt;'$content);
    return 
apply_filters('the_content_feed'$content$feed_type);
}
?>

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