I would like to remove the toolbar from frontend by default so I can then remove the option in user profiles.
I looked on codex wordpress and found:
update_user_option( $user_id, 'show_admin_bar_front', false );
I thought I could maybe replace $user_id with $global but it doesn’t work.
Does anyone know how to do this.
- The topic ‘remove toolbar from frontend by default’ is closed to new replies.