Skip to content

Commit

Permalink
added also the dynamic from Press7-78
Browse files Browse the repository at this point in the history
  • Loading branch information
geckod22 committed Nov 26, 2024
1 parent 28e0915 commit 88e2d9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/Performance.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,13 @@ public function adminBarMenu( \WP_Admin_Bar $wp_admin_bar ) {
);
}

$brand = $this->container->get( 'plugin' )['id'];
$wp_admin_bar->add_node(
array(
'id' => 'nfd_purge_menu-cache_settings',
'title' => __( 'Cache Settings', 'newfold-module-performance' ),
'parent' => 'nfd_purge_menu',
'href' => admin_url( 'options-general.php#' . Performance::SETTINGS_ID ),
'href' => admin_url( "admin.php?page=$brand#/performance" ),
)
);
}
Expand Down

0 comments on commit 88e2d9d

Please sign in to comment.