Plugin Directory

Changeset 1379124


Ignore:
Timestamp:
03/26/2016 01:00:07 AM (10 years ago)
Author:
aaronholbrook
Message:

Merge branch 'feature/update-code-formatting'

Location:
remove-wp-menu/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • remove-wp-menu/trunk/readme.txt

    r664059 r1379124  
    44Tags: clutter, clean, remove-cruft
    55Requires at least: 3.3
    6 Tested up to: 3.4
    7 Stable tag: 1.0
     6Tested up to: 4.4.2
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    19191. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
    20202. Activate the plugin through the 'Plugins' menu in WordPress
    21 3. Done! WP Menu in Admin Bar is gone!
     213. Done! The WP Menu in Admin Bar is gone!
    2222
    2323== Changelog ==
    2424
     251.0.1 - Code formatting updates
     26
    25271.0 - Initial release
  • remove-wp-menu/trunk/remove-wp-menu.php

    r664056 r1379124  
    11<?php
    2 /*
    3 Plugin Name: Remove Admin Bar WP Menu
    4 Plugin URI: http://aaronjholbrook.com
    5 Description: Remove the Admin Bar WP Menu/Icon
    6 Version: 1.0
    7 Author: Aaron Holbrook
    8 Author URI: http://aaronjholbrook.com
    9 License: GPLv2
    10 Copyright 2013  Aaron Holbrook (email : aaron@a7web.com, twitter : @aaronjholbrook)
    11 */
    12 
     2/**
     3 * Plugin Name: Remove Admin Bar WP Menu
     4 * Plugin URI: http://aaronjholbrook.com
     5 * Description: Remove the Admin Bar WP Menu/Icon
     6 * Version: 1.0.1
     7 * Author: Aaron Holbrook
     8 * Author URI: http://aaronjholbrook.com
     9 * License: GPLv2
     10 * Copyright 2013 Aaron Holbrook
     11 */
    1312
    1413add_action( 'add_admin_bar_menus', 'remove_wp_admin_bar_wp_menu', 1 );
     14
    1515/**
    1616 * Remove WP Admin Bar WP Menu
     
    1919 */
    2020function remove_wp_admin_bar_wp_menu() {
    21   remove_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 );
     21    remove_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 );
    2222}
    2323
Note: See TracChangeset for help on using the changeset viewer.