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 / admin / postbox-header.php
pods / ui / admin Last commit date
callouts 4 months ago upgrade 4 months ago widgets 4 months ago components-admin.php 4 months ago help-addons-row.php 4 months ago help-addons.php 4 months ago help.php 4 months ago postbox-header.php 4 months ago settings-reset.php 4 months ago settings-settings.php 4 months ago settings-tools.php 4 months ago settings.php 4 months ago setup-add.php 4 months ago setup-edit.php 4 months ago shortcode.php 4 months ago view.php 4 months ago
postbox-header.php
50 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 $title The header title.
12 */
13
14 $box_id = 'pods-ui-postbox-header-' . sanitize_title( $title );
15 ?>
16
17 <?php if ( version_compare( $GLOBALS['wp_version'], '5.5', '>=' ) ) : ?>
18 <div class="postbox-header">
19 <h2 class="hndle">
20 <span><?php echo esc_html( $title ); ?></span>
21 </h2>
22 <div class="handle-actions hide-if-no-js">
23 <?php
24 /* We need to build support for this later.
25 <button type="button" class="handle-order-higher" aria-disabled="false" aria-describedby="<?php echo esc_attr( $box_id ); ?>-handle-order-higher-description">
26 <span class="screen-reader-text"><?php esc_html_e( 'Move up', 'pods' ); ?></span>
27 <span class="order-higher-indicator" aria-hidden="true"></span>
28 </button>
29 <span class="hidden" id="<?php echo esc_attr( $box_id ); ?>-handle-order-higher-description"><?php esc_html_e( 'Move box up', 'pods' ); ?></span>
30 <button type="button" class="handle-order-lower" aria-disabled="false" aria-describedby="<?php echo esc_attr( $box_id ); ?>-handle-order-lower-description">
31 <span class="screen-reader-text"><?php esc_html_e( 'Move down', 'pods' ); ?></span>
32 <span class="order-lower-indicator" aria-hidden="true"></span>
33 </button>
34 */
35 ?>
36 <span class="hidden" id="<?php echo esc_attr( $box_id ); ?>-handle-order-lower-description"><?php esc_html_e( 'Move box down', 'pods' ); ?></span>
37 <button type="button" class="handlediv" aria-expanded="true">
38 <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel', 'pods' ); ?></span>
39 <span class="toggle-indicator" aria-hidden="true"></span>
40 </button>
41 </div>
42 </div>
43 <?php else : ?>
44 <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'pods' ); ?>"><br></div>
45 <h3 class="hndle">
46 <span><?php echo esc_html( $title ); ?></span>
47 </h3>
48 <?php endif; ?>
49 <?php
50