Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove Wild Activity Filter Bar
<?php
// Remove Wild Activity Filter Bar
function yzc_remove_wild_activity_nav() {
remove_action( 'youzify_profile_main_content', 'youzify_profile_activity_tab_filter_bar' );
}
add_action( 'init', 'yzc_remove_wild_activity_nav');
// Add Filter Bar Inside Content Main Content Area
function yzc_add_activity_boxed_filter_bar() {
if ( ! bp_is_user_activity() ) {
return;
}
add_action( 'bp_before_member_activity_post_form', 'youzify_profile_activity_tab_filter_bar' );
}
add_action( 'bp_init', 'yzc_add_activity_boxed_filter_bar' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment