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 / table.php
pods / ui / front / display Last commit date
dl.php 4 months ago list.php 4 months ago table.php 4 months ago
table.php
34 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 \Pods\Whatsit\Field[] $display_fields
12 * @var Pods $obj
13 * @var boolean $bypass_map_field_values
14 */
15 ?>
16
17 <table class="form-table pods-all-fields pods-all-fields-table">
18 <tbody>
19 <?php foreach ( $display_fields as $field_path => $field ) : ?>
20 <?php $field_label = $field->get_label(); ?>
21 <tr class="pods-all-fields-row pods-all-fields-row-name-<?php echo esc_attr( PodsForm::clean( $field_path, true ) ); ?>">
22 <th scope="row">
23 <strong>
24 <?php echo $field_label; // @codingStandardsIgnoreLine ?>
25 </strong>
26 </th>
27 <td>
28 <?php echo $obj->display( [ 'name' => $field_path, 'bypass_map_field_values' => $bypass_map_field_values ] ); // @codingStandardsIgnoreLine ?>
29 </td>
30 </tr>
31 <?php endforeach; ?>
32 </tbody>
33 </table>
34