| @@ -1,12 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace PXLBSAdminify\Inc\Classes; | |
| 3 | +namespace WPAdminify\Inc\Classes; | |
| 4 | 4 | |
| 5 | -if ( ! defined( 'ABSPATH' ) ) { | |
| 6 | - exit; // Exit if accessed directly. | |
| 7 | -} | |
| 8 | - | |
| 9 | 5 | class Adminify_Admin_Bar extends \WP_Admin_Bar { |
| 10 | 6 | |
| 11 | 7 | public function render() { |
| 12 | 8 | $root = $this->_bind(); |
| @@ -33,9 +29,9 @@ | ||
| 33 | 29 | } |
| 34 | 30 | } |
| 35 | 31 | |
| 36 | 32 | if ( is_admin() ) { |
| 37 | - do_action( 'pxlbsadminify/before/secondary_menu' ); | |
| 33 | + do_action( 'adminify/before/secondary_menu' ); | |
| 38 | 34 | } |
| 39 | 35 | |
| 40 | 36 | foreach ( $root->children as $group ) { |
| 41 | 37 | if ( $group->id === 'top-secondary' ) { |