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 / widgets.php
pods / ui / front Last commit date
display 4 months ago pagination 4 months ago filters.php 4 months ago form.php 4 months ago view.php 4 months ago widgets.php 4 months ago
widgets.php
27 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 echo wp_kses_post( $before_widget );
11
12 if ( ! empty( $title ) ) {
13 echo wp_kses_post( $before_title . $title . $after_title );
14 }
15
16 if ( ! empty( $before_content ) ) {
17 echo wp_kses_post( $before_content );
18 }
19
20 echo pods_shortcode( $args, ( isset( $content ) ? $content : null ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
21
22 if ( ! empty( $after_content ) ) {
23 echo wp_kses_post( $after_content );
24 }
25
26 echo wp_kses_post( $after_widget );
27