Switch language

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




get_default_feed [ WordPress Function ]

get_default_feed ( No parameters )
Uses:
Returns:
  • (string) Default feed, or for example 'rss2', 'atom', etc.
Defined at:



Retrieve the default feed.

The default feed is 'rss2', unless a plugin changes it through the 'default_feed' filter.

Source


<?php
function get_default_feed() {
    
$default_feed apply_filters('default_feed''rss2');
    return 
'rss' == $default_feed 'rss2' $default_feed;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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