$shortcode_name
$shortcode_name : string
Class for the contact-form shortcode.
Parses shortcode to output the contact form as HTML Sends email and stores the contact form response (a.k.a. "feedback")
$last : \Grunion_Contact_Form
parse(array $attributes, string|null $content) : string
The contact-form shortcode processor
array | $attributes | Key => Value pairs as parsed by shortcode_parse_atts() |
string|null | $content | The shortcode's inner content: [contact-form]$content[/contact-form] |
HTML for the concat form.
parse_contact_field(array $attributes, string|null $content) : \HTML
The contact-field shortcode processor We use an object method here instead of a static Grunion_Contact_Form_Field class method to parse contact-field shortcodes so that we can tie them to the contact-form object.
array | $attributes | Key => Value pairs as parsed by shortcode_parse_atts() |
string|null | $content | The shortcode's inner content: [contact-field]$content[/contact-field] |
for the contact form field