Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Remove bp_get_displayed_user_nav() to replace it with a custom function


sicksight
Participant

@sicksight

Hey @modemlooper ! ;)

Thanks for your reply, but it doesn´t work… To remove the action bp_get_displayed_user_nav(), I need the hook to which the function to be removed is hooked.
https://codex.wordpress.org/Function_Reference/remove_action

I think bp_get_displayed_user_nav()… isn´t hooked anywhere! :(

Edit: Need a function like replace_action( $function_to_replace, $function_to_add, $priority, $accepted_args )! :D :D Like str_replace in php, or something!^^

Skip to toolbar