$dismissed_time + ( 2 * 60 * 60 )) { delete_option('author_blog_notice_dismissed'); delete_transient('author_blog_welcome_notice_dismissed_time'); add_action('admin_notices', 'author_blog_general_admin_notice'); } } }); $author_blog_help_notice = get_option('author_blog_help_notice', ''); if (($author_blog_help_notice != 'notice_author_blog_dismissed' || $author_blog_help_notice === '') ){ add_action('admin_notices', 'author_blog_general_admin_notice'); }