PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.2.7
Pods – Custom Content Types and Fields v3.2.7
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 / table.php
pods / ui / front / display Last commit date
dl.php 2 years ago list.php 2 years ago table.php 2 years ago
table.php
31 lines
1 <?php
2 // Don't load directly.
3 if ( ! defined( 'ABSPATH' ) ) {
4 die( '-1' );
5 }
6
7 /**
8 * @var \Pods\Whatsit\Field[] $display_fields
9 * @var Pods $obj
10 * @var boolean $bypass_map_field_values
11 */
12 ?>
13
14 <table class="form-table pods-all-fields pods-all-fields-table">
15 <tbody>
16 <?php foreach ( $display_fields as $field_path => $field ) : ?>
17 <?php $field_label = $field->get_label(); ?>
18 <tr class="pods-all-fields-row pods-all-fields-row-name-<?php echo esc_attr( PodsForm::clean( $field_path, true ) ); ?>">
19 <th scope="row">
20 <strong>
21 <?php echo $field_label; // @codingStandardsIgnoreLine ?>
22 </strong>
23 </th>
24 <td>
25 <?php echo $obj->display( [ 'name' => $field_path, 'bypass_map_field_values' => $bypass_map_field_values ] ); // @codingStandardsIgnoreLine ?>
26 </td>
27 </tr>
28 <?php endforeach; ?>
29 </tbody>
30 </table>
31