Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,860
- How-to & Troubleshooting
- 128,910
- Creating & Extending
- 25,742
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,389
- Miscellaneous
- 9,134
-
Look at line 1426 of that function:
add_action( 'init', 'bp_core_action_search_site', 5 );
In your bp-custom.php, you can stop that action by doing this:
remove_action( 'init', 'bp_core_action_search_site', 5 );
You’ll need to place that within a function.
See this for more info: https://codex.wordpress.org/Function_Reference/remove_action
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS