Skip to content

Instantly share code, notes, and snippets.

View RonR-WebDesign's full-sized avatar

RonR-WebDesign

View GitHub Profile
@ms-studio
ms-studio / form_name_shortcode.php
Last active October 7, 2018 17:15
Shortcode for the Formidable WordPress plugin, that returns the name of the current form (based on the entry ID).
<?php
/*
* Form Name Shortcode
* For usage in confirmation email
* Returns name of current form
* Use the shortcode like this: [frm-form-name id=[id]]
* The [id] parameter will produce the ID of current entry
* See https://formidableforms.com/help-desk/using-form_name-shortcode-in-email-notification/
*/