PluginProbe ʕ •ᴥ•ʔ
Gallery : FooGallery / 3.1.36
Gallery : FooGallery v3.1.36
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 2 months ago checkout 2 months ago connect 2 months ago debug 2 months ago forms 2 months ago js 2 months ago partials 2 months ago plugin-info 2 months ago account.php 2 months ago add-ons.php 2 months ago add-trial-to-pricing.php 2 months ago admin-notice.php 2 months ago ajax-loader.php 2 months ago api-connectivity-message-js.php 2 months ago auto-installation.php 2 months ago checkout.php 2 months ago clone-resolution-js.php 2 months ago connect.php 2 months ago contact.php 2 months ago debug.php 2 months ago email.php 2 months ago gdpr-optin-js.php 2 months ago index.php 2 months ago plugin-icon.php 2 months ago pricing.php 2 months ago secure-https-header.php 2 months ago sticky-admin-notice-js.php 2 months ago tabs-capture-js.php 2 months ago tabs.php 2 months 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