WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #23692, comment 4


Ignore:
Timestamp:
03/14/13 10:59:06 (13 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23692, comment 4

    initial v1  
    2424 
    2525To show only feed :  
     26{{{ 
    2627add_filter( 'feed_links_types', 'baw_show_only_feed' ); 
    2728function baw_show_only_feed(){ 
    2829  return 1; 
    2930} 
     31}}} 
    3032 
    3133To show only coms :  
     34{{{ 
    3235add_filter( 'feed_links_types', 'baw_show_only_coms' ); 
    3336function baw_show_only_feed(){ 
    3437  return 2; 
    3538} 
     39}}} 
    3640 
    3741To show both, do nothing ;)