$dismissed_time + ( 2 * 60 * 60 )) { delete_option('book_blogger_notice_dismissed'); delete_transient('book_blogger_welcome_notice_dismissed_time'); add_action('admin_notices', 'book_blogger_general_admin_notice'); } } }); $book_blogger_help_notice = get_option('book_blogger_help_notice', ''); if (($book_blogger_help_notice != 'notice_book_blogger_dismissed' || $book_blogger_help_notice === '') ){ add_action('admin_notices', 'book_blogger_general_admin_notice'); }