• Resolved janfeng

    (@janfeng)


    This code is out of date, anybody can update this code ? thank you !

    if ( !current_user_can( 'manage_options' ) ) {
        remove_action( 'init', '_wp_admin_bar_init' );
    }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Remove wp_admin_bar fail on wordpress 4.0’ is closed to new replies.