id ) && strpos( $current_screen->id, 'seed_csp4' ) !== false ) { $url = 'https://wordpress.org/support/plugin/coming-soon/reviews/?filter=5#new-post'; $text = sprintf( __( 'Please rate SeedProd ★★★★★ on WordPress.org to help us spread the word. Thank you from the SeedProd team!', 'coming-soon' ), $url, $url ); } return $text; } if(!empty($_GET['page']) && $_GET['page'] == 'seed_csp4'){ //add_action( 'admin_notices', 'seed_csp4_review' ); } function seed_csp4_review() { // Verify that we can do a check for reviews. $review = get_option( 'seed_csp4_review' ); $time = time(); $load = false; $settings = seed_csp4_get_settings(); if ( ! $review ) { $review = array( 'time' => $time, 'dismissed' => false ); $load = true; } else { // Check if it has been dismissed or not. //if ( (isset( $review['dismissed'] ) && ! $review['dismissed']) && (isset( $review['time'] ) && (($review['time'] + DAY_IN_SECONDS) <= $time) && $settings['status'] > 0) ) { if ( (isset( $review['dismissed'] ) && ! $review['dismissed']) ) { $load = true; } } // If we cannot load, return early. if ( ! $load ) { return; } // Update the review option now. update_option( 'seed_csp4_review', $review ); $current_user = wp_get_current_user(); $fname = ''; if(!empty($current_user->user_firstname)){ $fname = $current_user->user_firstname; } $page_type = 'Coming Soon Page'; if(!empty($settings['status']) && $settings['status'] == 2){ $page_type = 'Maintenance Mode Page'; } // We have a candidate! Output a review message. ?>
I just want to say "Thank you" using this free plugin. If you have any questions post it to our support forums.
Also check out the → special upgrade offer we have going on right now for the Pro Verison.
Hope you have a great %s! Cheers', 'coming-soon' ),ucfirst($fname),seed_csp4_admin_upgrade_link( 'special-offer' ), date('l') ); ?>
John Turner
SeedProd.com', 'coming-soon' ); ?>