Created
September 18, 2015 16:43
-
-
Save kstover/98f7fd83b8420b7dcd2f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function ninja_forms_custom_display( $form_id ) { | |
// Output text received from the database before our field output. | |
$text = get_stuff_from_somewhere_else( $form_id ); | |
echo '<h4>'. $text . '</h4>'; | |
} | |
add_action( 'ninja_forms_display_before_form', 'ninja_forms_custom_display' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment