Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,527
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
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