Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
<?php | |
/** | |
* Gravity Forms Zoho CRM - Decode HTML for Task Description & Lead Description so links work, such as link to the entry. | |
* | |
* @link https://gist.github.com/cliffordp/0d45eae807c190fed0a95de66a655224 This snippet. | |
* @link https://docs.gravityforms.com/gform_merge_tag_filter/#9-decode-modifier Alternative is to use a modifier like {entry_url:decode} | |
*/ | |
add_filter( 'gform_zohocrm_task', 'cliff_zoho_crm_task_decode_description', 10, 4 ); | |
if( |
<?php | |
/** | |
* Save Gravity Form field data to post meta by adding a class to any field. | |
* Meta is mapped so that it is readable by Advanced Custom Fields | |
* Format class as… | |
* post_meta-{meta_key} -- for simple fields & writing lists as array to single meta record | |
* post_meta-{meta_key}-.3 -- for multi-input fields | |
* post_meta-{repeater_key}-1.{meta_key} -- for list fields mapped to meta readable by ACF | |
*/ | |
// Run this function after the Gravity Form has created a post |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |