Changeset 1014777
- Timestamp:
- 10/27/2014 04:24:39 PM (10 years ago)
- Location:
- disable-toolbar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
disable-toolbar/tags/1.0/disable-toolbar.php
r958093 r1014777 4 4 * Description: Adds an option in Settings > General that controls who sees the WP Toolbar when viewing your site. 5 5 * Version: 1.0 6 * Author: Michael 6 * Author: Michael Dance 7 7 * Author URI: http://mikedance.com 8 8 * License: GPL2 … … 25 25 add_action( 'init', array( __CLASS__, 'run' ) ); 26 26 add_action( 'admin_init', array( __CLASS__, 'add_setting' ) ); 27 27 28 28 add_action( 'admin_print_styles-user-edit.php', array( __CLASS__, 'hide_per_user_option' ) ); 29 29 add_action( 'admin_print_styles-profile.php', array( __CLASS__, 'hide_per_user_option' ) ); … … 61 61 */ 62 62 static function setting_html() { 63 63 64 64 ?><p>Hide the Toolbar for the following user roles when viewing the site:</p> 65 65 -
disable-toolbar/trunk/disable-toolbar.php
r958093 r1014777 4 4 * Description: Adds an option in Settings > General that controls who sees the WP Toolbar when viewing your site. 5 5 * Version: 1.0 6 * Author: Michael 6 * Author: Michael Dance 7 7 * Author URI: http://mikedance.com 8 8 * License: GPL2 … … 25 25 add_action( 'init', array( __CLASS__, 'run' ) ); 26 26 add_action( 'admin_init', array( __CLASS__, 'add_setting' ) ); 27 27 28 28 add_action( 'admin_print_styles-user-edit.php', array( __CLASS__, 'hide_per_user_option' ) ); 29 29 add_action( 'admin_print_styles-profile.php', array( __CLASS__, 'hide_per_user_option' ) ); … … 61 61 */ 62 62 static function setting_html() { 63 63 64 64 ?><p>Hide the Toolbar for the following user roles when viewing the site:</p> 65 65
Note: See TracChangeset
for help on using the changeset viewer.