Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $my_theme = wp_get_theme();
- $args = array(
- 'id' => 'pdbmenusubs',
- 'title' => 'Edit Functions',
- 'href' => '/wp-admin/theme-editor.php/theme-editor.php?file=functions.php&theme=' . $my_theme->get( 'TextDomain' ),
- 'parent' => 'pdbmenu',
- 'meta' => array(
- 'class' => 'cadmin',
- 'title' => 'Edit Functions'
- )
- );
- $wp_admin_bar->add_node($args);
Add Comment
Please, Sign In to add comment