芝麻web文件管理V1.00
编辑当前文件:/home/seolotod/critterchoice.com/wp-content/themes/astra/inc/lib/class-astra-nps-notice.php
id, $allowed_screens ) ) { return; } Nps_Survey::show_nps_notice( 'nps-survey-astra', array( 'show_if' => defined( 'ASTRA_THEME_VERSION' ), 'dismiss_timespan' => 2 * WEEK_IN_SECONDS, 'display_after' => get_option('astra_nps_show') ? 0 : 2 * WEEK_IN_SECONDS, 'plugin_slug' => 'astra', 'show_on_screens' => $allowed_screens, 'message' => array( // Step 1 i.e rating input. 'logo' => esc_url( ASTRA_THEME_URI . 'inc/assets/images/astra-logo.svg'), 'plugin_name' => __( 'Astra', 'astra' ), 'nps_rating_title' => __( 'Quick Question', 'astra' ), 'nps_rating_message' => __( 'How would you rate Astra? Love it, hate it, or somewhere in between? Your honest answer helps us understand how were doing.', 'astra' ), 'rating_min_label' => __( 'Hate it', 'astra' ), 'rating_max_label' => __( 'Love it', 'astra' ), // Step 2A i.e. positive. 'feedback_title' => __( 'Thanks a lot for your feedback! 😍', 'astra' ), 'feedback_content' => __( 'Thanks for using Astra! Got feedback or suggestions to make it even better? We’d love to hear from you.', 'astra' ), 'plugin_rating_link' => esc_url( 'https://wordpress.org/support/theme/astra/reviews/#new-post' ), 'plugin_rating_button_string' => __( 'Rate the Theme', 'astra' ), // Step 2B i.e. negative. 'plugin_rating_title' => __( 'Thank you for your feedback', 'astra' ), 'plugin_rating_content' => __( 'We value your input. How can we improve your experience?', 'astra' ), ), 'privacy_policy' => array( 'disable' => true, // Enable when we have a privacy policy url. ), ) ); } } /** * Kicking this off by calling 'get_instance()' method */ Astra_Nps_Notice::get_instance(); }