PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 2.3.6
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v2.3.6
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / admin / views / configs / settings / class-sps-advanced.php

class-sps-advanced.php in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 2.3.6, at admin/views/configs/settings/class-sps-advanced.php

42 lines 913 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The Advanced setting configurations.
4 *
5 * @package Smart_Post_Show
6 * @subpackage Smart_Post_Show/admin
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 die; } // Cannot access pages directly.
11
12 /**
13 * The Layout building class.
14 */
15 class SPS_Advanced {
16
17 /**
18 * Advanced setting section.
19 *
20 * @param string $prefix The settings.
21 * @return void
22 */
23 public static function section( $prefix ) {
24 SP_PC::createSection(
25 $prefix,
26 array(
27 'title' => __( 'Advanced Settings', 'smart-post-show' ),
28 'icon' => 'fa fa-cogs',
29 'fields' => array(
30 array(
31 'id' => 'pcp_delete_all_data',
32 'type' => 'checkbox',
33 'title' => __( 'Clean-up Data on Deletion', 'smart-post-show' ),
34 'help' => __( 'Delete all Smart Post Show data from the database on plugin uninstalling and deletion.', 'smart-post-show' ),
35 'default' => false,
36 ),
37 ),
38 )
39 );
40 }
41 }
42