Custom logout link error
-
I added a custom logout link( for good reason I had to remove the default one )
This code always work in conjunction with your plugin, but not since recent updates:Any advice please.
Thank youfunction custom_toolbar_link($wp_admin_bar) { $args = array( 'id' => 'Logout', 'title' => 'Logout', 'href' => wp_logout_url(), 'meta' => array( 'class' => 'tsum-logout', 'title' => 'Logouts' )); $wp_admin_bar->add_node($args); } add_action('admin_bar_menu', 'custom_toolbar_link', 999);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom logout link error’ is closed to new replies.