| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
_deprecated_file( esc_html( basename( __FILE__ ) ), '3.0', null, 'FrmFieldType::field_input' ); |
| 7 |
|
| 8 |
$field_obj = FrmFieldFactory::get_field_type( $field['type'], $field ); |
| 9 |
echo $field_obj->include_front_field_input( compact( 'errors', 'form', 'html_id', 'field_name' ), $atts ); // WPCS: XSS ok. |
| 10 |
|