Endpoints
Function
Example
wponion_admin_bar(
array($title, $href, $id, $meta, $parent, $group, $submenus)
);
wponion_admin_bar(
array(
array(
'title' => 'My_Menu_Title',
'href' => 'https://mycustomlink.com',
'id' => 'my-custom-html-id',
'parent' => array(
'children' => array(),
),
'group' => array(),
'meta' => array(
'title' => 'my-custom-meta-title',
'class' => 'my-custom-meta-class',
'id' => 'my-custom-meta-id',
'target' => 'self',
'onclick' => NULL,
'rel' => NULL,
'tab' => NULL,
'lang' => NULL,
'dir' => NULL,
),
'submenus' => array(
array(
'title' => 'My_Menu_Title',
'href' => 'https://mycustomlink.com',
'id' => 'my-custom-html-id',
'meta' => array(
'title' => 'my-custom-meta-title',
'class' => 'my-custom-meta-class',
'id' => 'my-custom-meta-id',
'target' => 'self',
'onclick' => NULL,
'rel' => NULL,
'tab' => NULL,
'lang' => NULL,
'dir' => NULL,
),
),
),
),
),
);

There are currently no extra notes for this operation.
Last modified 3yr ago