Admin bar visibility
-
I was thinking about doing this:
add_filter( 'show_admin_bar', '__return_false', 99 );
Then I noticed in class-wp-front-end-editor.php around line 152 you have commented:
Hiding the admin bar for the front-end editor is not the right way to turn it off
May I ask why isn’t it a good idea to hide the admin bar like this?
For me, the full admin bar isn’t *always* necessary. My aim is to let a user edit the post title and content by providing them with a simple save link on the edit page such as
<span id="fee-save" class="button button-primary" href="#">Save</span>
Would this be bad practice?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Admin bar visibility’ is closed to new replies.