Alls well that ends well I guess since enough information is not forthcoming 🙂
When I inspect that login element using a browser, I can only find deprecated functions in buddybar files that then still dont remove/alter that “Login” link for me.
I thought I had it … its really put away somewhere
Thank you Paul for commenting. I wish I was clearer.
I was referring to the Log In and Register buttons on the admin bar (which is Buddypress) in the top left.
Im using this to disable BuddyPress’ registration process and fallback to WordPress. I want to merely change the link of the Log In button so it goes to my custom login page. How do you go about doing it?
<?php
/**
* Disables BuddyPress' registration process and fallsback to WordPress' one.
*/
function my_disable_bp_registration() {
remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );
remove_action( 'bp_screens', 'bp_core_screen_signup' );
}
add_action( 'bp_loaded', 'my_disable_bp_registration' );
?>