• Resolved Norm Sash

    (@normsash)


    Hi… I’m trying out StranoWeb Ajax Login on a couple of sites and so far I’m loving it. It’s working better than any of the others I’ve tried.

    Question: How do I get rid of “SW Ajax Login” in the WP Admin toolbar. Is there a setting for this? If so, I’m not able to find it.

    Thanks,
    -Norm

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author beeky2

    (@beeky2)

    Hi Norm,

    thanks for using our plugin and for the nice words.
    to remove the SW Ajax Login item from admin bar just copy this function to your theme functions.php

    add_action( 'admin_bar_menu', 'swal_remove_admin_bar_menu', 1000 );
    
    /**
     * Removes the "SW Ajax Login" item from the admin bar menu
     *
     */
    function swal_remove_admin_bar_menu( $admin_bar ) {
    
        $admin_bar->remove_node( 'swal_ajax_login' );
    }
    Thread Starter Norm Sash

    (@normsash)

    Hi beeky2,

    I would like to request that this be made a feature in the SWAL settings to have the SWAL menu item displayed or not.

    Thanks,
    -Norm

    Plugin Author beeky2

    (@beeky2)

    I will add to the to do list.

    Thanks for the suggestion

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove from WP Admin toolbar’ is closed to new replies.