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 |