| @@ -1,5 +1,16 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * Entry show page. | |
| 4 | + * | |
| 5 | + * @package Formidable | |
| 6 | + * | |
| 7 | + * @var stdClass $form Form object. | |
| 8 | + * @var stdClass $entry Entry object. | |
| 9 | + * @var array $fields Field objects for the entry. | |
| 10 | + * @var int $id Entry ID. | |
| 11 | + */ | |
| 12 | + | |
| 2 | 13 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 14 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 15 | } |
| 5 | 16 | ?> |
| @@ -75,8 +86,9 @@ | ||
| 75 | 86 | * |
| 76 | 87 | * @param array $show_args The arguments. |
| 77 | 88 | * @param array $args Includes `form`. |
| 78 | 89 | */ |
| 90 | + // skipcq: PHP-W1020 | |
| 79 | 91 | $show_args = apply_filters( 'frm_entries_show_args', $show_args, compact( 'form' ) ); |
| 80 | 92 | |
| 81 | 93 | echo FrmEntriesController::show_entry_shortcode( $show_args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 82 | 94 | ?> |