| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; // Exit if accessed directly |
| 4 |
} |
| 5 |
if (!get_option('wppm_show_update_notice')) { |
| 6 |
return; |
| 7 |
} |
| 8 |
|
| 9 |
?> |
| 10 |
<div class="notice notice-success is-dismissible"> |
| 11 |
<p> |
| 12 |
<strong> <?php echo esc_html__('Taskbuilder Updated!', 'taskbuilder'); ?></strong><br> |
| 13 |
<?php echo esc_html__('The menu has moved to', 'taskbuilder'); ?> <b><?php echo esc_html__('Taskbuilder', 'taskbuilder'); ?></b>. |
| 14 |
<?php echo esc_html__('You can now access', 'taskbuilder'); ?> <b> <?php echo esc_html__('Projects, Tasks and Dashboard etc.', 'taskbuilder'); ?> </b> <?php echo esc_html__('from the new menu.', 'taskbuilder'); ?> |
| 15 |
</p> |
| 16 |
</div> |
| 17 |
<?php |
| 18 |
delete_option('wppm_show_update_notice'); |
| 19 |
?> |