2. Hiển thị shortcode to front-end (ok)

C:\xampp\htdocs\wptest\wp-content\plugins\pointfindercoreelements\pointfindercoreelements.php
<?php
/**
* Plugin Name: PointFinder Core Elements
* Plugin URI: https://themeforest.net/user/webbu/portfolio
* Description: PointFinder theme core elements plugin.
* Version: 1.1.8
* Author: Webbu
* Author URI: https://themeforest.net/user/webbu
* License: Themeforest Split License
* License URI: https://themeforest.net/licenses/terms/regular
* Text Domain: pointfindercoreelements
* Domain Path: /languages
*/
if (!defined('WPINC')) {
die;
}
define('PFCOREPLUGIN_NAME_VERSION', '1.1.8');
define('PFCOREELEMENTSDIR', plugin_dir_path(__FILE__));
define('PFCOREELEMENTSURL', plugin_dir_url(__FILE__));
define('PFCOREELEMENTSURLADMIN', plugin_dir_url(__FILE__) . 'admin/');
define('PFCOREELEMENTSURLPUBLIC', plugin_dir_url(__FILE__) . 'public/');
define('PFCOREELEMENTSURLINC', plugin_dir_url(__FILE__) . 'includes/');
require PFCOREELEMENTSDIR . 'includes/traits/options.php';
require PFCOREELEMENTSDIR . 'includes/class-pointfindercoreelements.php';
$plugin = new Pointfindercoreelements();
$plugin->run();C:\xampp\htdocs\wptest\wp-content\plugins\pointfindercoreelements\includes\class-pointfindercoreelements.php
C:\xampp\htdocs\wptest\wp-content\plugins\pointfindercoreelements\includes\class-pointfindercoreelements-loader.php
Last updated
Was this helpful?