芝麻web文件管理V1.00
编辑当前文件:/home/ephorei/www/wp-content/themes/astra/inc/lib/class-astra-nps-notice.php
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', '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_message' => __( 'How likely are you to recommend #pluginname to your friends or colleagues?', 'astra' ), // Step 2A i.e. positive. 'feedback_title' => __( 'Thanks a lot for your feedback! 😍', 'astra' ), 'feedback_content' => __( 'Could you please do us a favor and give us a 5-star rating on WordPress? It would help others choose Astra with confidence. Thank 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' ), ), ) ); } } /** * Kicking this off by calling 'get_instance()' method */ Astra_Nps_Notice::get_instance(); }