| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | /** |
|---|
| 4 | * Plugin Name: Shortcodes Ultimate |
|---|
| 5 | * Plugin URI: https://getshortcodes.com/ |
|---|
| 6 | * Author: Vova Anokhin |
|---|
| 7 | * Author URI: https://getshortcodes.com/ |
|---|
| 8 | * Description: A comprehensive collection of visual components for WordPress |
|---|
| 9 | * Text Domain: shortcodes-ultimate |
|---|
| 10 | * License: GPLv3 |
|---|
| 11 | * Version: 7.4.6 |
|---|
| 12 | * Requires PHP: 5.4 |
|---|
| 13 | * Requires at least: 5.0 |
|---|
| 14 | * Tested up to: 6.8 |
|---|
| 15 | * |
|---|
| 16 | */ |
|---|
| 17 | if ( !defined( 'ABSPATH' ) ) { |
|---|
| 18 | exit; |
|---|
| 19 | } |
|---|
| 20 | if ( function_exists( 'su_fs' ) ) { |
|---|
| 21 | su_fs()->set_basename( false, __FILE__ ); |
|---|
| 22 | } else { |
|---|
| 23 | // DO NOT REMOVE THIS IF, IT IS ESSENTIAL FOR THE `function_exists` CALL ABOVE TO PROPERLY WORK. |
|---|
| 24 | if ( !function_exists( 'su_fs' ) ) { |
|---|
| 25 | if ( !function_exists( 'su_fs' ) ) { |
|---|
| 26 | // Create a helper function for easy SDK access. |
|---|
| 27 | function su_fs() { |
|---|
| 28 | global $su_fs; |
|---|
| 29 | if ( !isset( $su_fs ) ) { |
|---|
| 30 | // Include Freemius SDK. |
|---|
| 31 | require_once dirname( __FILE__ ) . '/freemius/start.php'; |
|---|
| 32 | $su_fs = fs_dynamic_init( array( |
|---|
| 33 | 'id' => '7180', |
|---|
| 34 | 'slug' => 'shortcodes-ultimate', |
|---|
| 35 | 'premium_slug' => 'shortcodes-ultimate-pro', |
|---|
| 36 | 'type' => 'plugin', |
|---|
| 37 | 'public_key' => 'pk_c9ecad02df10f17e67880ac6bd8fc', |
|---|
| 38 | 'is_premium' => false, |
|---|
| 39 | 'premium_suffix' => 'Pro', |
|---|
| 40 | 'has_addons' => false, |
|---|
| 41 | 'has_paid_plans' => true, |
|---|
| 42 | 'menu' => array( |
|---|
| 43 | 'slug' => 'shortcodes-ultimate', |
|---|
| 44 | 'first-path' => 'admin.php?page=shortcodes-ultimate', |
|---|
| 45 | 'contact' => false, |
|---|
| 46 | 'support' => false, |
|---|
| 47 | ), |
|---|
| 48 | 'opt_in_moderation' => array( |
|---|
| 49 | 'new' => 100, |
|---|
| 50 | 'updates' => 0, |
|---|
| 51 | 'localhost' => true, |
|---|
| 52 | ), |
|---|
| 53 | 'is_live' => true, |
|---|
| 54 | ) ); |
|---|
| 55 | } |
|---|
| 56 | return $su_fs; |
|---|
| 57 | } |
|---|
| 58 | |
|---|
| 59 | // Init Freemius. |
|---|
| 60 | su_fs(); |
|---|
| 61 | // Signal that SDK was initiated. |
|---|
| 62 | do_action( 'su_fs_loaded' ); |
|---|
| 63 | } |
|---|
| 64 | } |
|---|
| 65 | define( 'SU_PLUGIN_FILE', __FILE__ ); |
|---|
| 66 | define( 'SU_PLUGIN_VERSION', '7.4.6' ); |
|---|
| 67 | require_once dirname( __FILE__ ) . '/plugin.php'; |
|---|
| 68 | } |
|---|