PluginProbe
GutSlider – All in One Slider and Carousel Blocks for Gutenberg / 3.2.0
GutSlider – All in One Slider and Carousel Blocks for Gutenberg v3.2.0
3.2.0 3.1.0 3.0.0 2.13.2 2.13.1 2.13.0 trunk 1.0.0 2.1.0 2.10.0 2.10.1 2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.12.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.1 2.5.3 2.5.4 2.5.5 All 57 releases
slider-blocks / admin / views / compare-page.php

compare-page.php in GutSlider – All in One Slider and Carousel Blocks for Gutenberg 3.2.0, at admin/views/compare-page.php

36 lines 654 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Free vs Pro screen.
4 *
5 * @package GutSliderBlocks
6 *
7 * @var array $blocks Decorated block definitions.
8 * @var string $current Current page slug.
9 * @var bool $has_pro Whether the Pro plugin is active.
10 */
11
12 if ( ! defined( 'ABSPATH' ) ) {
13 exit;
14 }
15
16 $gs_free_total = 0;
17 $gs_pro_total = 0;
18
19 foreach ( $blocks as $gs_block ) {
20 if ( ! empty( $gs_block['is_pro'] ) ) {
21 ++$gs_pro_total;
22 } else {
23 ++$gs_free_total;
24 }
25 }
26
27 require GUTSLIDER_DIR . '/admin/views/header.php';
28 ?>
29
30 <div class="gs-shell gs-stack">
31 <?php require GUTSLIDER_DIR . '/admin/views/compare.php'; ?>
32 </div>
33
34 <?php
35 require GUTSLIDER_DIR . '/admin/views/footer.php';
36