Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Override default BP Groupblog nav item functionality | |
*/ | |
function my_custom_groupblog_setup_nav() { | |
// only add for groups | |
if ( !bp_is_group() ) return; | |
// only act if blog not embedded in group template | |
$checks = get_site_option('bp_groupblog_blog_defaults_options'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Adds BBPress "Forums" select option to Advanced Search. - JR | |
function mla_bp_search_form_type_select_add_forums($options) { | |
$options['bbpforums'] = __( 'Forums', 'buddypress' ); | |
return $options; | |
} | |
add_filter('bp_search_form_type_select_options', 'mla_bp_search_form_type_select_add_forums'); | |
// Fix forum search handling - JR | |
function mla_bp_core_action_search_site( $slug = '') { |
NewerOlder