Deactivation_Survey_Feedback::get_default_reasons()
Get the array of default reasons.
Description
Return
(array) Default reasons.
Source
File: inc/lib/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' ),
'placeholder' => esc_html__( 'How can we assist you?', 'astra' ),
'show_cta' => 'false',
'accept_feedback' => 'false',
),
'plugin_not_working' => array(
'label' => esc_html__( 'The plugin isn\'t working properly.', 'astra' ),
'placeholder' => esc_html__( 'Please tell us more about what went wrong?', 'astra' ),
'show_cta' => 'true',
'accept_feedback' => 'true',
),
'found_better_plugin' => array(
'label' => esc_html__( 'I found a better alternative plugin.', 'astra' ),
'placeholder' => esc_html__( 'Could you please specify which plugin?', 'astra' ),
'show_cta' => 'false',
'accept_feedback' => 'true',
),
'missing_a_feature' => array(
'label' => esc_html__( 'It\'s missing a specific feature.', 'astra' ),
'placeholder' => esc_html__( 'Please tell us more about the feature.', 'astra' ),
'show_cta' => 'false',
'accept_feedback' => 'true',
),
'other' => array(
'label' => esc_html__( 'Other', 'astra' ),
'placeholder' => esc_html__( 'Please tell us more details.', 'astra' ),
'show_cta' => 'false',
'accept_feedback' => 'true',
),
)
);
}
Expand full source code Collapse full source code View on Trac