Skip to content

Commit 347e515

Browse files
committed
add activation date to debug tools
1 parent eea366e commit 347e515

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

classes/utils/class-debug-tools.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,16 @@ protected function add_more_info_submenu_item( $admin_bar ) {
479479
);
480480
}
481481

482+
// Plugin activation date.
483+
$progress_planner_settings = \get_option( \Progress_Planner\Settings::OPTION_NAME, [] );
484+
$admin_bar->add_node(
485+
[
486+
'id' => 'prpl-plugin-activation-date',
487+
'parent' => 'prpl-more-info',
488+
'title' => 'Plugin Activation Date: ' . ( isset( $progress_planner_settings['activation_date'] ) ? $progress_planner_settings['activation_date'] : 'Unknown' ),
489+
]
490+
);
491+
482492
// Free license info.
483493
$prpl_free_license_key = \get_option( 'progress_planner_license_key', false );
484494
$admin_bar->add_node(

0 commit comments

Comments
 (0)