The AcrossAI blog
Archives: Abilities
Update Contact Form Mail Template
Change fields of one mail template, merging into what is there. Changing the recipient requires confirm: true — a wrong address fails silently while…
Get Contact Form Mail Template
Read one of a form’s two mail templates — recipient, sender, subject, body, headers, attachments and the HTML and exclude-blank flags. mail is the…
Remove Contact Form Field
Remove a field from a form, along with the label wrapping it when that label held nothing else. Reports any mail tags left dangling.…
Update Contact Form Field
Change one field in place — its type, whether it is required, its options or its choices. Only that tag is rewritten. Renaming is…
Add Contact Form Field
Add a field to a form, composing the Contact Form 7 tag and its label for you. The new name becomes available as a…
Update Contact Form Template
Replace a form’s entire template markup. The escape hatch for layout changes the field abilities cannot express — and it drops any field you…
Get Contact Form Template
A form’s raw template markup, tags and surrounding HTML included. Read this when you intend to rewrite the layout; use list-form-fields when you only…
List Contact Form Field Types
Every form-tag type this site supports, with whether each accepts a field name and whether its value can appear in mail. The set depends…
List Contact Form Fields
Parse a form template and return its fields as structured data — name, type, whether required, options and choices. Also the list of names…
Get Contact Form Shortcode
The shortcode that embeds a form, ready to paste into a post or page. Contact Form 7 forms do not render on their own…