PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.3.6
Pods – Custom Content Types and Fields v3.3.6
trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / ui / front / display / list.php
pods / ui / front / display Last commit date
dl.php 4 months ago list.php 4 months ago table.php 4 months ago
list.php
32 lines
1 <?php
2
3 // Don't load directly.
4 if ( ! defined( 'ABSPATH' ) ) {
5 die( '-1' );
6 }
7
8 // phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
9
10 /**
11 * @var string $list_type
12 * @var string $tag_name
13 * @var string $sub_tag_name
14 * @var \Pods\Whatsit\Field[] $display_fields
15 * @var Pods $obj
16 * @var boolean $bypass_map_field_values
17 */
18 ?>
19
20 <<?php echo esc_html( sanitize_key( $tag_name ) ); ?> class="pods-all-fields pods-all-fields-<?php echo esc_attr( $list_type ); ?>">
21 <?php foreach ( $display_fields as $field_path => $field ) : ?>
22 <?php $field_label = $field->get_label(); ?>
23 <<?php echo esc_html( sanitize_key( $sub_tag_name ) ); ?> class="pods-all-fields-row pods-all-fields-row-name-<?php echo esc_attr( PodsForm::clean( $field_path, true ) ); ?>">
24 <strong>
25 <?php echo esc_html( $field_label ); ?>:
26 </strong>
27
28 <?php echo $obj->display( [ 'name' => $field_path, 'bypass_map_field_values' => $bypass_map_field_values ] ); // @codingStandardsIgnoreLine ?>
29 </<?php echo esc_html( sanitize_key( $sub_tag_name ) ); ?>>
30 <?php endforeach; ?>
31 </<?php echo esc_html( sanitize_key( $tag_name ) ); ?>>
32