URL details: www.networkdata.ro/wordpress-add-admin-bar-button/#respond
URL title:
WordPress add admin bar button | Network Data
URL description:
How to add buttons to your Admin Toolbar? There are two ways you can do that: using a plugin, or using code.| We’ll go over the second way below. function custom_button_example($wp_admin_bar){ $args = array( 'id' => 'custom-button', 'title' => 'Custom Button', 'href' => 'http://example.com/', 'meta' => array( 'class' => 'custom-button-class' ) ); $wp_admin_bar->add_node($args); } add_action('admin_bar_menu',
URL last crawled:
2022-06-30
URL speed:
1.480 MB/s,
downloaded in 0.030 seconds
We found no external links pointing to this url.