Skip to content

Commit

Permalink
fix: always allow customer feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasNorin committed Nov 29, 2024
1 parent 407cb43 commit fc0edfc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/php/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ public function appendForm()

$postExtended = get_extended($post->post_content);

if (empty($postExtended['main']) || (strpos($post->post_content, '<!--more-->') !== false && empty($postExtended['extended']))) {
return;
}

$mainQuestion = __('Did the information on this page help you?', 'customer-feedback');
if (!empty(get_field('customer_feedback_main_question_text', 'option'))) {
$mainQuestion = get_field('customer_feedback_main_question_text', 'option');
Expand Down

0 comments on commit fc0edfc

Please sign in to comment.