Skip to content

Instantly share code, notes, and snippets.

@klhall1987
Created August 22, 2018 18:03
Show Gist options
  • Save klhall1987/02891727d368ffae47b21ab210da5e38 to your computer and use it in GitHub Desktop.
Save klhall1987/02891727d368ffae47b21ab210da5e38 to your computer and use it in GitHub Desktop.
Merge Tag Config Example
<?php if ( ! defined( 'ABSPATH' ) ) exit;
return apply_filters( 'ninja_forms_register_user_settings', array(
'example_tag' => array(
'id' => 'example_tag',
'tag' => '{mergetag_example:example_tag}',
'label' => __( 'Example Tag', 'ninja-forms-mergetag-example' ),
'callback' => 'example_tag',
),
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment