the answer for all question about Oxygen Builder plugin and WordPress

Quick shortcut I threw together for an admin bar menu link for AS:

Quick shortcut I threw together for an admin bar menu link for AS:

<?php
add_action(‘admin_bar_menu’, ‘add_toolbar_items’, 100);
function add_toolbar_items($admin_bar){
$admin_bar->add_menu( array(
‘id’ => ‘as-menu-link’,
‘title’ => ‘Advanced Scripts’,
‘href’ => get_site_url() .’/wp-admin/tools.php?page=advanced-scripts‘,
‘meta’ => array(
‘title’ => __(‘Open AS In New Tab’),
‘target’ => ‘_blank’,
),
));
}



Source

Boundaries

Capital Design Set

Leave A Reply

Your email address will not be published.

Oxyrealm Docs OxyMade - Oxygen Builder Design Set Mega collection