helsingborg-stad/customer-feedback

This WordPress plugin adds a feedback form to the end of every page (or any other activated post type).

Installs: 14 321

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 13

Forks: 4

Open Issues: 6

Type:wordpress-plugin


README

This WordPress plugin adds a feedback form to the end of every page (or any other activated post type). The visitor can then answer a question like "did the information on the current page help you?", yes or no. The results will be stored and presented in the admin area.

Filter reference

CustomerFeedback/post_types

Array with post type slugs where the customer feedback form should be shown

Example:

add_filter('CustomerFeedback/post_types', function ($postTypes) {
    $postTypes[] = 'post';
    return $postTypes;
});

Disable auto enqueue function on loop end

define('CUSTOMER_FEEDBACK_DISABLE_AUTO_LOAD', true);