Files
krolewskie-miody.pl/wp-content/plugins/userfeedback-lite/includes/survey-templates/class-userfeedback-survey-template-website-experience.php
2026-04-28 15:13:50 +02:00

58 lines
988 B
PHP

<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
class UserFeedback_Survey_Template_Web_Experience extends UserFeedback_Survey_Template {
/**
* @inheritdoc
*/
protected $template_key = 'web-experience';
protected $categories = array(
'ui-ux'
);
/**
* @inheritdoc
*/
protected $is_pro = false;
/**
* @inheritdoc
*/
public function get_name() {
return __( 'Website Experience', 'userfeedback-lite' );
}
/**
* @inheritdoc
*/
public function get_description() {
return array(
'title' => __( 'Learn how customers currently rate your website experience.', 'userfeedback-lite' )
);
}
/**
* @inheritdoc
*
* @return array
*/
public function get_config() {
return array(
'questions' => array(
array(
'type' => 'radio-button',
'title' => __( 'On a scale of 1-5, how would you rate your experience? ', 'userfeedback-lite' ),
'config' => array(
'options' => array( 1, 2, 3, 4, 5 ),
),
),
),
);
}
}