wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp-includes/admin-bar.php › WordPress File

Funktionen24
Toolbar API: Top-level Toolbar functionality


Funktion Kurzbeschreibung
is_admin_bar_showingDetermines whether the admin bar should be showing.
show_admin_barSets the display status of the admin bar.
wp_admin_bar_add_secondary_groupsAdds secondary menus.
wp_admin_bar_appearance_menuAdds appearance submenu items to the "Site Name" menu.
wp_admin_bar_comments_menuAdds edit comments link with awaiting moderation count bubble.
wp_admin_bar_customize_menuAdds the "Customize" link to the Toolbar.
wp_admin_bar_edit_menuProvides an edit link for posts and terms.
wp_admin_bar_edit_site_menuAdds the "Edit site" link to the Toolbar.
wp_admin_bar_my_account_itemAdds the "My Account" item.
wp_admin_bar_my_account_menuAdds the "My Account" submenu items.
wp_admin_bar_my_sites_menuAdds the "My Sites/[Site Name]" menu and all submenus.
wp_admin_bar_new_content_menuAdds "Add New" menu.
wp_admin_bar_recovery_mode_menuAdds a link to exit recovery mode when Recovery Mode is active.
wp_admin_bar_renderRenders the admin bar to the page based on the $wp_admin_bar->menu member var.
wp_admin_bar_search_menuAdds search form.
wp_admin_bar_shortlink_menuProvides a shortlink.
wp_admin_bar_sidebar_toggleAdds the sidebar toggle button.
wp_admin_bar_site_menuAdds the "Site Name" menu.
wp_admin_bar_updates_menuProvides an update link if theme/plugin/core updates are available.
wp_admin_bar_wp_menuAdds the WordPress logo menu.
wp_enqueue_admin_bar_bump_stylesEnqueues inline bump styles to make room for the admin bar.
wp_enqueue_admin_bar_header_stylesEnqueues inline style to hide the admin bar when printing.
_get_admin_bar_prefRetrieves the admin bar display preference of a user.
_wp_admin_bar_initInstantiates the admin bar object and set it up as a global for access elsewhere.