is_white_labeled() ) { return; } $allowed_screens = array( 'appearance_page_starter-templates', 'appearance_page_ai-builder' ); Nps_Survey::show_nps_notice( 'nps-survey-astra-sites', array( 'show_if' => get_option( 'astra_sites_import_complete', false ), 'dismiss_timespan' => 2 * WEEK_IN_SECONDS, 'display_after' => 0, 'plugin_slug' => 'astra-sites', 'show_on_screens' => $allowed_screens, 'message' => array( // Step 1 i.e rating input. 'logo' => esc_url( INTELLIGENT_TEMPLATES_URI . 'assets/images/logo.svg' ), 'plugin_name' => __( 'Starter Templates', 'astra-sites' ), 'nps_rating_message' => __( 'How likely are you to recommend #pluginname to your friends or colleagues?', 'astra-sites' ), // Step 2A i.e. positive. 'feedback_title' => __( 'Thanks a lot for your feedback! 😍', 'astra-sites' ), 'feedback_content' => __( 'Could you please do us a favor and give us a 5-star rating on WordPress? It would help others choose Starter Templates with confidence. Thank you!', 'astra-sites' ), 'plugin_rating_link' => esc_url( 'https://wordpress.org/support/plugin/astra-sites/reviews/#new-post' ), // Step 2B i.e. negative. 'plugin_rating_title' => __( 'Thank you for your feedback', 'astra-sites' ), 'plugin_rating_content' => __( 'We value your input. How can we improve your experience?', 'astra-sites' ), ), ) ); } } /** * Kicking this off by calling 'get_instance()' method */ Astra_Sites_Nps_Notice::get_instance(); endif;