Changeset 3187408
- Timestamp:
- 11/13/2024 11:13:30 AM (17 months ago)
- Location:
- hide-admin-bar-from-non-admins
- Files:
-
- 3 added
- 4 edited
-
assets/banner-1544x500.png (modified) (previous)
-
assets/banner-772x250.png (modified) (previous)
-
tags/1.0.2 (added)
-
tags/1.0.2/hide-admin-bar-from-non-admins.php (added)
-
tags/1.0.2/readme.txt (added)
-
trunk/hide-admin-bar-from-non-admins.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hide-admin-bar-from-non-admins/trunk/hide-admin-bar-from-non-admins.php
r2708092 r3187408 2 2 /* 3 3 Plugin Name: Hide Admin Bar From Non-Admins 4 Plugin URI: https://www.paidmembershipspro.com/add-ons/hide-admin-bar-from-non-admins/5 4 Description: Hides the WordPress toolbar (admin bar) for all non-admin users. 6 Version: 1.0.1 7 Author: Stranger Studios 8 Author URI: https://www.strangerstudios.com 5 Version: 1.0.2 6 Author: Contributors 9 7 */ 10 /*11 Copyright 2013 Stranger Studios (email : [email protected])12 Licensed under the GPLv2 license: http://www.gnu.org/licenses/gpl-2.0.html13 */14 15 8 function habfna_show_admin_bar() { 16 9 $user = wp_get_current_user(); -
hide-admin-bar-from-non-admins/trunk/readme.txt
r3070651 r3187408 1 1 === Hide Admin Bar from Non-Admins === 2 2 Contributors: strangerstudios 3 Tags: admin bar, toolbar, adminbar, dashboard , membership3 Tags: admin bar, toolbar, adminbar, dashboard 4 4 Requires at least: 5.2 5 Tested up to: 6. 56 Stable tag: 1.0. 15 Tested up to: 6.7 6 Stable tag: 1.0.2 7 7 8 8 Hides the WordPress toolbar (admin bar) for all non-admin users. Simple plugin with no settings to configure. … … 36 36 1. That's it. There are no settings. 37 37 38 == Frequently Asked Questions==38 == Changelog == 39 39 40 = How do I hide the toolbar for other user roles? = 41 If you need to show the toolbar for other user roles, use the filter `habfna_show_admin_bar_roles`. Here is a [code recipe that demonstrates how to use this filter](https://gist.github.com/kimcoleman/a16ee438a292c927f0b2bcf7a9fc8763). 42 43 = How do I block non-admins from access the WordPress admin area? = 44 This plugin does not handle any user redirection. It's only for hiding the admin bar. If you are building a site that needs more robust user management, consider our [WordPress membership plugin, Paid Memberships Pro](https://www.paidmembershipspro.com/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=hide-admin-bar-from-non-admins). 45 46 Paid Memberships Pro allows anyone to build a membership site—for free. Restrict content, accept payment, and manage subscriptions right from your WordPress admin. 47 48 = I found a bug in the plugin. = 49 50 Please post it in the issues section of GitHub and we'll fix it as soon as we can. Thanks for helping. https://github.com/strangerstudios/hide-admin-bar-from-non-admins/issues 51 52 = I need help installing, configuring, or customizing the plugin. = 53 54 Please visit our premium support site at https://www.paidmembershipspro.com for more documentation and our support forums. 55 56 == Changelog == 40 = 1.0.2 - 2024-11-13 = 41 * ENHANCEMENT: Update tested up to WordPress 6.7. 42 * ENHANCEMENT: Preparing plugin to be put up for adoption. 57 43 58 44 = 1.0.1 - 2022-04-11 =
Note: See TracChangeset
for help on using the changeset viewer.