Skip to content

Instantly share code, notes, and snippets.

View ivanchromjak's full-sized avatar
🏠
Working from home

Ivan Chromjak ivanchromjak

🏠
Working from home
View GitHub Profile
@ivanchromjak
ivanchromjak / gravityview-trigger-gform_after_submission-form-20.php
Last active February 28, 2019 15:02 — forked from zackkatz/gravityview-trigger-gform_after_submission-form-12.php
GravityView - Trigger the `gform_after_submission` action when an entry is edited, but ONLY for Form #20.
<?php
/**
* GravityView doesn't trigger the `gform_after_submission` action when editing entries. This does that,
* but ONLY FOR FORM #20.
*
* @param array $form
* @param int $entry_id ID of the entry being updated
* @param GravityView_Edit_Entry_Render $object
*
@ivanchromjak
ivanchromjak / cheatsheet-jekyll.md
Last active August 9, 2021 12:06 — forked from JJediny/gist:a466eed62cee30ad45e2
Jekyll Liquid Cheatsheet

There are two types of markup in Liquid: Output and Tag.

  • Output markup (which may resolve to text) is surrounded by
{{ matched pairs of curly brackets (ie, braces) }}
  • Tag markup (which cannot resolve to text) is surrounded by