PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.34
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.34
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / addons / list.php

list.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.34, at classes/views/addons/list.php

34 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Add-Ons list.
4 *
5 * @package Formidable
6 *
7 * @var array<string, array> $addons Available add-ons keyed by slug.
8 * @var string $view_path Absolute path to the views/addons/ directory, with trailing slash.
9 * @var string $request_addon_url URL for requesting a new add-on.
10 * @var string $license_type Current license type or empty string.
11 * @var string $pricing Upgrade URL used for CTAs.
12 */
13
14 if ( ! defined( 'ABSPATH' ) ) {
15 die( 'You are not allowed to call this page directly.' );
16 }
17
18 FrmAddonsHelper::show_upgrade_renew_cta();
19 FrmAddonsHelper::get_reconnect_link();
20 ?>
21
22 <ul id="frm-addons-list" class="frm-list-grid-layout frm-mb-xs">
23 <?php
24 foreach ( $addons as $slug => $addon ) {
25 require $view_path . 'addon.php';
26 }
27 ?>
28 </ul>
29
30 <div class="frm-addons-request-addon frm-py-2xs frm-mt-xs">
31 <span><?php esc_html_e( 'Not finding what you need?', 'formidable' ); ?></span>
32 <a class="frm-font-semibold" href="<?php echo esc_url( $request_addon_url ); ?>" target="_blank"><?php esc_html_e( 'Request Add-On', 'formidable' ); ?></a>
33 </div>
34