/home/techb158/balacoffee.com/wp-content/plugins/coming-soon/admin/includes
NameSizeModeActions
class-seedprod-landing-pages-table.php136320644editdlrm
class-seedprod-theme-templates-table.php138320644editdlrm
debug-functions.php27240644editdlrm
import-export-functions.php437720644editdlrm
import-export-utilities.php434220644editdlrm
license-functions.php80800644editdlrm
plugin-functions.php358910644editdlrm
product-education-functions.php114230644editdlrm
review-functions.php74370644editdlrm
settings-functions.php89810644editdlrm
setup-wizard-functions.php155700644editdlrm
skin.php22730644editdlrm
skin53.php23630644editdlrm
subscriber-functions.php133250644editdlrm
system-info-functions.php83330644editdlrm
template-functions.php249940644editdlrm
theme-functions.php442060644editdlrm
utility-functions.php99160644editdlrm
utm-functions.php49790644editdlrm
Edit: /home/techb158/balacoffee.com/wp-content/plugins/coming-soon/admin/includes/review-functions.php (7437B)
id, 'seedprod' ) ) { return; } // Enqueue the review notice handler. wp_enqueue_script( 'seedprod-review-notice', plugin_dir_url( __DIR__ ) . 'js/review-notice.js', array( 'jquery' ), SEEDPROD_VERSION, true ); // Localize script with nonce for AJAX security. wp_localize_script( 'seedprod-review-notice', 'seedprodReviewNotice', array( 'nonce' => wp_create_nonce( 'seedprod_review_dismiss' ), ) ); } /** * Display review request admin notice * * @since 7.0.0 */ function seedprod_lite_v2_review_request() { // Only consider showing the review request to admin users. if ( ! is_super_admin() ) { return; } // Don't show on SeedProd pages - too intrusive. $screen = get_current_screen(); if ( $screen && false !== strpos( $screen->id, 'seedprod' ) ) { return; } // If the user has opted out of product announcement notifications. if ( get_option( 'seedprod_hide_review' ) ) { return; } // Verify that we can do a check for reviews. $review = get_option( 'seedprod_review' ); $time = time(); $load = false; if ( ! $review ) { $review = array( 'time' => $time, 'dismissed' => false, ); update_option( 'seedprod_review', $review ); } elseif ( ( isset( $review['dismissed'] ) && ! $review['dismissed'] ) && ( isset( $review['time'] ) && ( ( $review['time'] + DAY_IN_SECONDS ) <= $time ) ) ) { // Check if it has been dismissed or not (show after 1 day). $load = true; } // If we cannot load, return early. if ( ! $load ) { return; } // Check if plugin has been installed for at least 7 days. $activated = get_option( 'seedprod_over_time', array() ); if ( ! empty( $activated['installed_date'] ) ) { // Only continue if plugin has been installed for at least 7 days. if ( ( $activated['installed_date'] + ( DAY_IN_SECONDS * 7 ) ) > time() ) { return; } // Only if version greater than or equal to 6.0.8.5. if ( ! empty( $activated['installed_version'] ) && version_compare( $activated['installed_version'], '6.0.8.5' ) < 0 ) { return; } } else { // First time tracking installation. $data = array( 'installed_version' => SEEDPROD_VERSION, 'installed_date' => time(), ); update_option( 'seedprod_over_time', $data ); return; } // Display the review notice. seedprod_lite_v2_display_review_notice(); } /** * Display the actual review notice HTML * * @since 7.0.0 */ function seedprod_lite_v2_display_review_notice() { $feedback_url = 'https://www.seedprod.com/plugin-feedback/?utm_source=liteplugin&utm_medium=review-notice&utm_campaign=feedback&utm_content=' . SEEDPROD_VERSION; ?>