Skip to content

Instantly share code, notes, and snippets.

@klhall1987
Last active August 22, 2018 17:42
Show Gist options
  • Save klhall1987/aec8cde9a9e816aef8eb8963e7448684 to your computer and use it in GitHub Desktop.
Save klhall1987/aec8cde9a9e816aef8eb8963e7448684 to your computer and use it in GitHub Desktop.
Merge Tag Example
<?php if ( ! defined( 'ABSPATH' ) ) exit;
/**
* Class NF_MergeTagExample_MergeTags
*/
final class NF_MergeTagExample_MergeTags extends NF_Abstracts_MergeTags
{
protected $id = 'mergetag_example';
public function __construct()
{
parent::__construct();
$this->title = __( 'Merge Tag Example', 'ninja-forms-mergetag-example' );
$this->merge_tags = NF_MergeTagExample()->config( 'MergeTags' );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment