• I’d need to call a CF7 form, but in a way that I can customize the submit button text.

    So I have:

    $variable = "Submit now";
    
    echo do_shortcode('[contact-form-7 id="18" title="Contact Form"]');

    I want to pass this to the form and make the button label text $variable.

    Is this possible?

  • The topic ‘Call form with custom labels in PHP’ is closed to new replies.