| 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__ ) ), '4.0', null ); |
| 7 |
|
| 8 |
if ( isset( $field['post_field'] ) && $field['post_field'] == 'post_category' ) { |
| 9 |
$type = $field['type']; |
| 10 |
do_action( 'frm_after_checkbox', compact( 'field', 'field_name', 'type' ) ); |
| 11 |
} else { |
| 12 |
$read_only = $field['read_only']; |
| 13 |
include dirname( __FILE__ ) . '/' . $field['type'] . '-field.php'; |
| 14 |
} |
| 15 |
|