| Server IP : 173.249.148.11 / Your IP : 216.73.216.6 Web Server : Apache/2.4.68 (AlmaLinux) System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64 User : devinter ( 1006) PHP Version : 8.3.35 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /chroot/home/devinter/public_html/wp-content/plugins/toolbar-extras/includes/ |
Upload File : |
<?php
// includes/items-tools-group.php
/**
* Prevent direct access to this file.
*
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit( 'Sorry, you are not allowed to access this file directly.' );
}
add_action( 'admin_bar_menu', 'ddw_tbex_tools_items_base_groups', 99 );
/**
* Set base groups for "own" Tools Group as "hook places".
* Set additional action hooks to enable custom groups.
*
* @since 1.4.8
*
* @uses ddw_tbex_parent_id_tools_group()
*
* @param object $admin_bar Object of Toolbar nodes.
*/
function ddw_tbex_tools_items_base_groups( $admin_bar ) {
do_action( 'tbex_before_tools_group_content', $admin_bar );
/** Group: Privacy ... */
$admin_bar->add_group(
array(
'id' => 'tbex-toolsgroup-privacy',
'parent' => ddw_tbex_parent_id_tools_group(),
)
);
do_action( 'tbex_after_tools_group_privacy', $admin_bar );
/** Group: GDPR ... */
$admin_bar->add_group(
array(
'id' => 'tbex-toolsgroup-gdpr',
'parent' => ddw_tbex_parent_id_tools_group(),
)
);
do_action( 'tbex_after_tools_group_gdpr', $admin_bar );
/** Group: Site Health ... */
$admin_bar->add_group(
array(
'id' => 'tbex-toolsgroup-sitehealth',
'parent' => ddw_tbex_parent_id_tools_group(),
)
);
do_action( 'tbex_after_tools_group_sitehealth', $admin_bar );
/** Group: Add-Ons ... */
$admin_bar->add_group(
array(
'id' => 'tbex-toolsgroup-addons',
'parent' => ddw_tbex_parent_id_tools_group(),
)
);
do_action( 'tbex_after_tools_group_addons', $admin_bar );
} // end function