Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/anfangola.com/wp-content/plugins/blockspare/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/anfangola.com/wp-content/plugins/blockspare/blockspare.php
<?php
    /*
     * Plugin Name:       Blockspare 
     * Plugin URI:        https://blockspare.com/
     * Description:       Expertly Crafted Patterns & Page Builder Gutenberg Blocks for Blog, Magazine, Newspaper, and Agency. One-click Import, No Coding Hassle! Explore our Design Library, and enjoy Just Importing, Customizing, and Publishing Your Site with Ease!
     * Version:           3.1.5
     * Author:            Blockspare
     * Author URI:        https://blockspare.com/
     * Text Domain:       blockspare
     * License:           GPL-2.0+
     * License URI:       http://www.gnu.org/licenses/gpl-2.0.html
     */
    
    defined('ABSPATH') or die('No script kiddies please!');  // prevent direct access
    
                 /**
                 * Define global constants
                 **/
                defined('BLOCKSPARE_BASE_FILE') or define('BLOCKSPARE_BASE_FILE', __FILE__);
                defined('BLOCKSPARE_PLUGIN_BASE') or define('BLOCKSPARE_PLUGIN_BASE', plugin_basename( BLOCKSPARE_BASE_FILE ) );
                defined('BLOCKSPARE_BASE_DIR') or define('BLOCKSPARE_BASE_DIR', dirname(BLOCKSPARE_BASE_FILE));
                defined('BLOCKSPARE_PLUGIN_URL') or define('BLOCKSPARE_PLUGIN_URL', plugin_dir_url(__FILE__));
                defined('BLOCKSPARE_PLUGIN_DIR') or define('BLOCKSPARE_PLUGIN_DIR', plugin_dir_path(__FILE__));
                defined('BLOCKSPARE_PRO_PATH') || define('BLOCKSPARE_PRO_PATH','https://www.blockspare.com/');
                defined('BLOCKSPARE_SHOW_PRO_NOTICES' ) || define('BLOCKSPARE_SHOW_PRO_NOTICES', true );
                defined('BLOCKSPARE_VERSION' ) || define('BLOCKSPARE_VERSION',  '3.1.5');


                if ( ! version_compare( PHP_VERSION, '5.6', '>=' ) ) {
                    add_action( 'admin_notices', 'blockspare_fail_php_version' );
                } elseif ( ! version_compare( get_bloginfo( 'version' ), '4.7', '>=' ) ) {
                    add_action( 'admin_notices', 'blockspare_fail_wp_version' );
                } else {
                    /**
                 * Freemius.
                 */
                require_once(BLOCKSPARE_PLUGIN_DIR.'/freemius.php');

                /**
                 * Plugin init and welcome.
                 */
                
                include_once BLOCKSPARE_PLUGIN_DIR. 'inc/init.php';
                include_once BLOCKSPARE_PLUGIN_DIR.'inc/welcome.php';
                include_once BLOCKSPARE_PLUGIN_DIR.'inc/fonts.php';
                }


                function blockspare_fail_php_version() {
                    /* translators: %s: PHP version */
                    $message      = sprintf( esc_html__( 'Blockspare for Gutenberg requires PHP version %s+, plugin is currently NOT RUNNING.', 'blockspare' ), '5.6' );
                    $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) );
                    echo wp_kses_post( $html_message );
                }

                function blockspare_fail_wp_version() {
                    /* translators: %s: WordPress version */
                    $message      = sprintf( esc_html__( 'Blockspare for Gutenberg requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.', 'blockspare' ), '4.7' );
                    $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) );
                    echo wp_kses_post( $html_message );
                }

ZeroDay Forums Mini