• Hi!
    I have two questions, but they have a common denominator – the use of square brackets.

    (A) Can you put a mail-tag between square brackets? So that after replacing the mail-tag you will receive the entered value between square brackets. Something like:
    [[_site_title]] -> [WordPress.org]
    The above won’t work because double square brackets have been used to escape the entire form-tag/mail-tag (as an aside, “incomplete” double square brackets also work – [[_site_title] or [_site_title]]).

    (B) I also noticed that there is no freedom to use square brackets in the name of the contact form. This seems to be due in particular to the implementation of the following functions:
    (new WPCF7_ContactForm)->shortcode();
    wpcf7_get_contact_form_by_title( $title );
    Is there any advice for this, other than of course not using square brackets ;)?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The use of square brackets’ is closed to new replies.