Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1486795

    Hi,

    I’m using following code in the functions.php to have “Ja” und blank for “false” in Contact form messages.

    add_filter('avf_form_message', 'avf_form_message_mod_checkbox', 10, 3);
    function avf_form_message_mod_checkbox($message, $new_post, $form_params) {
    	$message = str_replace('true', 'Ja', $message);
    	$message = str_replace('false', '', $message);
        return $message;
    }

    When setting up the Autoresponder I’m still getting “true” and “false”.

    What am I missing to achieve that on that end as well?

    Kind regards.

    • This topic was modified 16 hours, 3 minutes ago by tebitrongmbh.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.