| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
if ( isset( $args['field']['post_field'] ) && $args['field']['post_field'] == 'post_category' ) { |
| 7 |
?> |
| 8 |
<div class="frm-inline-message" id="frm_has_hidden_options_<?php echo esc_attr( $args['field']['id'] ); ?>"> |
| 9 |
<?php echo FrmAppHelper::kses( FrmFieldsHelper::get_term_link( $args['field']['taxonomy'] ), array( 'a' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> |
| 10 |
</div> |
| 11 |
<?php |
| 12 |
} else { |
| 13 |
$this->show_field_options( $args ); |
| 14 |
} |
| 15 |
|