PluginProbe ʕ •ᴥ•ʔ
Gallery : FooGallery / 3.2.6
Gallery : FooGallery v3.2.6
3.3.2 3.3.3 3.3.0 3.1.31 3.1.32 3.1.34 3.1.36 3.2.0 3.2.6 trunk 1.10.3 2.0.24 2.1.34 2.2.44 2.3.3 2.4.32 3.0.6 3.1.11 3.1.12 3.1.13 3.1.20 3.1.25 3.1.26 3.1.26.1 3.1.26.2
foogallery / freemius / templates / checkout.php
foogallery / freemius / templates Last commit date
account 1 month ago checkout 1 month ago connect 1 month ago debug 1 month ago forms 1 month ago js 1 month ago partials 1 month ago plugin-info 1 month ago account.php 1 month ago add-ons.php 1 month ago add-trial-to-pricing.php 1 month ago admin-notice.php 1 month ago ajax-loader.php 1 month ago api-connectivity-message-js.php 1 month ago auto-installation.php 1 month ago checkout.php 1 month ago clone-resolution-js.php 1 month ago connect.php 1 month ago contact.php 1 month ago debug.php 1 month ago email.php 1 month ago gdpr-optin-js.php 1 month ago index.php 1 month ago plugin-icon.php 1 month ago pricing.php 1 month ago secure-https-header.php 1 month ago sticky-admin-notice-js.php 1 month ago tabs-capture-js.php 1 month ago tabs.php 1 month ago
checkout.php
30 lines
1 <?php
2 /**
3 * @package Freemius
4 * @copyright Copyright (c) 2024, Freemius, Inc.
5 * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
6 * @since 2.9.0
7 */
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit;
10 }
11 /**
12 * @var array $VARS
13 * @var Freemius $fs
14 */
15 $fs = freemius( $VARS['id'] );
16
17 if ( fs_request_get_bool( 'redirect' ) ) {
18 fs_require_template( 'checkout/redirect.php', $VARS );
19 } else if ( fs_request_get_bool( 'process_redirect' ) ) {
20 fs_require_template( 'checkout/process-redirect.php', $VARS );
21 } else {
22 $fs = freemius( $VARS['id'] );
23
24 if ( $fs->is_premium() ) {
25 fs_require_template( 'checkout/frame.php', $VARS );
26 } else {
27 fs_require_template( 'checkout/redirect.php', $VARS );
28 }
29 }
30