ninja_forms_field_honeypot_display
The Ninja Forms ninja forms field honeypot display function.
Description
Parameters (3)
- 0. $field_id
- The field id.
- 1. $data
- The data.
- 2. $form_id — Optional. (string) =>
''
- The form id.
Usage
if ( !function_exists( 'ninja_forms_field_honeypot_display' ) ) { require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/fields/honeypot.php'; } // The field id. $field_id = null; // The data. $data = null; // The form id. $form_id = ''; // NOTICE! Understand what this does before running. $result = ninja_forms_field_honeypot_display($field_id, $data, $form_id);
Defined (1)
The function is defined in the following location(s).
- /deprecated/includes/fields/honeypot.php
- function ninja_forms_field_honeypot_display( $field_id, $data, $form_id = '' ) {
- $field_class = ninja_forms_get_field_class( $field_id, $form_id ); ?>
- <input id="ninja_forms_field_<?php echo $field_id;?>" name="ninja_forms_field_<?php echo $field_id;?>" type="text" class="<?php echo $field_class;?>" value="" rel="<?php echo $field_id;?>" />
- <?php
- }