| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
$replacement = FrmAppHelper::plugin_path() . '/classes/views/frm-fields/front-end/dropdown-field.php'; |
| 7 |
_deprecated_file( esc_html( basename( __FILE__ ) ), '5.0.13', esc_html( $replacement ) ); |
| 8 |
|
| 9 |
if ( ! isset( $read_only ) ) { |
| 10 |
$read_only = FrmField::get_option( $field, 'read_only' ); |
| 11 |
} |
| 12 |
|
| 13 |
if ( ! isset( $html_id ) ) { |
| 14 |
$html_id = isset( $field['html_id'] ) ? $field['html_id'] : FrmFieldsHelper::get_html_id( $field ); |
| 15 |
} |
| 16 |
|
| 17 |
require $replacement; |
| 18 |
|