| Server IP : 216.238.66.20 / Your IP : 216.73.217.142 Web Server : nginx/1.30.4 System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/sweetheart.mx/htdocs/wp-content/plugins/pods/ui/front/ |
Upload File : |
<?php
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
// phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
pods_form_enqueue_style( 'pods-form' );
/**
* @var array $fields
* @var Pods $pod
*/
?>
<div class="pods-submittable-fields">
<ul class="pods-form-fields">
<?php
foreach ( $fields as $field ) {
if ( isset( $field['custom_display'] ) && is_callable( $field['custom_display'] ) ) {
$value = call_user_func_array(
$field['custom_display'], array(
$pod->row(),
$pod,
$pod->field( $field['name'] ),
$field['name'],
$field,
)
);
} else {
$value = $pod->display( $field['name'] );
}
$default_class = ' pods-form-ui-row-type-' . $field['type'] . ' pods-form-ui-row-name-' . PodsForm::clean( $field[ 'name' ] );
$html_class = apply_filters( 'pods-field-html-class', $field ) . $default_class;
?>
<li class="pods-field__container pods-field <?php echo esc_attr( $html_class, true ); ?>">
<div class="pods-field-label">
<strong><?php echo esc_html($field['label'] ); ?></strong>
</div>
<div class="pods-field-input">
<?php echo wp_kses_post( $value ); ?>
</div>
</li>
<?php
}//end foreach
?>
</ul>
</div>