Deactivation_Survey_Feedback::get_default_reasons()
Get the array of default reasons.
Description
Return
(array) Default reasons.
Source
File: admin/bsf-analytics/modules/deactivation-survey/classes/class-deactivation-survey-feedback.php
public static function get_default_reasons() { return apply_filters( 'uds_default_deactivation_reasons', array( 'temporary_deactivation' => array( 'label' => esc_html__( 'This is a temporary deactivation for testing.', 'astra-addon' ), 'placeholder' => esc_html__( 'How can we assist you?', 'astra-addon' ), 'show_cta' => 'false', 'accept_feedback' => 'false', ), 'plugin_not_working' => array( 'label' => esc_html__( 'The plugin isn\'t working properly.', 'astra-addon' ), 'placeholder' => esc_html__( 'Please tell us more about what went wrong?', 'astra-addon' ), 'show_cta' => 'true', 'accept_feedback' => 'true', ), 'found_better_plugin' => array( 'label' => esc_html__( 'I found a better alternative plugin.', 'astra-addon' ), 'placeholder' => esc_html__( 'Could you please specify which plugin?', 'astra-addon' ), 'show_cta' => 'false', 'accept_feedback' => 'true', ), 'missing_a_feature' => array( 'label' => esc_html__( 'It\'s missing a specific feature.', 'astra-addon' ), 'placeholder' => esc_html__( 'Please tell us more about the feature.', 'astra-addon' ), 'show_cta' => 'false', 'accept_feedback' => 'true', ), 'other' => array( 'label' => esc_html__( 'Other', 'astra-addon' ), 'placeholder' => esc_html__( 'Please tell us more details.', 'astra-addon' ), 'show_cta' => 'false', 'accept_feedback' => 'true', ), ) ); }
Expand full source code Collapse full source code View on Trac