Skip to:
Content

BuddyPress.org

Changeset 2531


Ignore:
Timestamp:
02/01/2010 09:00:24 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Allow front page to be filtered by child themes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r2530 r2531  
    105105
    106106    if ( empty( $settings['show_on_frontpage'] ) || 'blog' == $settings['show_on_frontpage'] )
    107         return 'blog';
    108 
    109     return 'activity';
     107        return apply_filters( 'bp_dtheme_show_on_frontpage', 'blog' );
     108
     109    return apply_filters( 'bp_dtheme_show_on_frontpage', 'activity' );
    110110}
    111111
Note: See TracChangeset for help on using the changeset viewer.