Created
November 17, 2017 10:59
-
-
Save nschaeferhoff/616e79cffe1db2b32338536b48021250 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function add_toolbar_items($wp_admin_bar) { | |
$wp_admin_bar->add_node( array( | |
'id' => 'supportlink', | |
'title' => 'Contact support', | |
'href' => 'mailto:support@domain.com', | |
) ); | |
} | |
add_action('admin_bar_menu', 'add_toolbar_items', 999); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to add an item "Save as draft" on published posts, how can i do that? Thank you!