PluginProbe
Services Section Block – present your services in clean grids and columns / 1.4.2
Services Section Block – present your services in clean grids and columns v1.4.2
1.4.6 1.4.5 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 trunk 1.0 1.1 1.1.1 All 33 releases
services-section / plugin.php

plugin.php in Services Section Block – present your services in clean grids and columns 1.4.2, at plugin.php

63 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Plugin Name: Services Section - Block
5 * Description: Use Services Section Block to provide services of your business to clients with customizable settings.
6 * Version: 1.4.2
7 * Author: bPlugins
8 * Author URI: https://bplugins.com
9 * License: GPLv3
10 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
11 * Text Domain: services-section
12 */
13 if ( !defined( 'ABSPATH' ) ) {
14 exit;
15 }
16 if ( function_exists( 'ss_fs' ) ) {
17 ss_fs()->set_basename( false, __FILE__ );
18 } else {
19 define( 'SSB_VERSION', ( isset( $_SERVER['HTTP_HOST'] ) && 'localhost' === $_SERVER['HTTP_HOST'] ? time() : '1.4.2' ) );
20 define( 'SSB_DIR_URL', plugin_dir_url( __FILE__ ) );
21 define( 'SSB_DIR_PATH', plugin_dir_path( __FILE__ ) );
22 define( 'SSB_HAS_FRMS', file_exists( dirname( __FILE__ ) . '/freemius/start.php' ) );
23 if ( !function_exists( 'ss_fs' ) ) {
24 function ss_fs() {
25 global $ss_fs;
26 if ( !isset( $ss_fs ) ) {
27 if ( SSB_HAS_FRMS ) {
28 require_once SSB_DIR_PATH . '/freemius/start.php';
29 } else {
30 require_once SSB_DIR_PATH . '/freemius-lite/start.php';
31 }
32 $ssbConfig = [
33 'id' => '18628',
34 'slug' => 'services-section',
35 'premium_slug' => 'services-section-pro',
36 'type' => 'plugin',
37 'public_key' => 'pk_e9793d569da544eb6078cf6a751f1',
38 'is_premium' => true,
39 'premium_suffix' => 'Pro',
40 'has_premium_version' => true,
41 'has_addons' => false,
42 'has_paid_plans' => true,
43 'trial' => array(
44 'days' => 7,
45 'is_require_payment' => true,
46 ),
47 'menu' => array(
48 'slug' => 'edit.php?post_type=services_section',
49 'first-path' => 'edit.php?post_type=services_section&page=ssb_demo_page#/welcome',
50 'support' => false,
51 ),
52 ];
53 $ss_fs = ( SSB_HAS_FRMS ? fs_dynamic_init( $ssbConfig ) : fs_lite_dynamic_init( $ssbConfig ) );
54 }
55 return $ss_fs;
56 }
57
58 ss_fs();
59 do_action( 'ss_fs_loaded' );
60 }
61 require_once SSB_DIR_PATH . 'includes/utility/functions.php';
62 require_once SSB_DIR_PATH . 'includes/ssbPlugin/plugin.php';
63 }