| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/cwd/wp-content/plugins/pods/ui/forms/ |
Upload File : |
<?php
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
// phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
/**
* @var Pods $pod
* @var mixed $id
* @var string $field_prefix
* @var \Pods\Whatsit\Field $field
* @var string $row_classes
* @var mixed $value
* @var string|null $heading_tag
*/
?>
<div class="pods-field__container pods-field-option <?php echo esc_attr( $row_classes ); ?>"
style="<?php echo esc_attr( 'hidden' == $field['type'] ? 'display:none;' : '' ); ?>">
<?php if ( 'heading' === $field['type'] ) : ?>
<?php $heading_tag = PodsField_Heading::get_heading_tag( $field, 'h2' ); ?>
<<?php echo esc_html( sanitize_key( $heading_tag ) ); ?>
class="pods-form-ui-heading pods-form-ui-heading-<?php echo esc_attr( $field['name'] ); ?>"
id="heading-<?php echo esc_attr( $field['name'] ); ?>">
<?php echo esc_html( $field['label'] ); ?>
</<?php echo esc_html( sanitize_key( $heading_tag ) ); ?>>
<?php PodsForm::output_comment( $field['name'], pods_v( 'description', $field ), $field ); ?>
<?php elseif ( 'html' === $field['type'] && 1 === (int) $field['html_no_label'] ) : ?>
<?php PodsForm::output_field( $field['name'], $value, $field['type'], $field, $pod, $id ); ?>
<?php else : ?>
<?php
PodsForm::output_label( $field['name'], $field['label'], pods_v( 'help', $field ), $field );
PodsForm::output_field( $field['name'], $value, $field['type'], $field, $pod, $id );
PodsForm::output_comment( $field['name'], pods_v( 'description', $field ), $field );
?>
<?php endif; ?>
</div>