PluginProbe
BH Custom CSS3 Preloader – Just play and play / 2.8
BH Custom CSS3 Preloader – Just play and play v2.8
trunk 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8
bh-custom-preloader / plugin_main.php

plugin_main.php in BH Custom CSS3 Preloader – Just play and play 2.8, at plugin_main.php

40 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit; // Exit if accessed directly.
5 }
6
7 /*
8 Plugin Name: BH Custom Preloader
9 Plugin URI: https://wordpress.org/plugins/bh-custom-preloader/
10 Description: This is BH Custom Preloader WordPress plugin.It will be enable Preloader on your web site. You can change Every things from settings
11 Author: Themesvila
12 Author URI: https://themesvila.com/
13 Version: 2.8
14 Requires at least: 6.0
15 Tested up to: 7.1
16 Requires PHP: 7.4
17 License: GPL v2 or later
18 License URI: https://www.gnu.org/licenses/gpl-2.0.html
19 Text Domain: custom-preloader
20 */
21
22
23 //define
24
25 define( 'BHCUSTOMPREPLUGINDIR', dirname( __FILE__ ) );
26
27 // Some configure
28 define('BHCUSTOMPRELOADERASSETS' , WP_PLUGIN_URL .'/' . plugin_basename(dirname(__FILE__)) . '/');
29
30
31
32 // Added Setting Link
33 add_filter( 'plugin_action_links_'.plugin_basename(__FILE__), 'bh_custom_preloader_settings_link' );
34 function bh_custom_preloader_settings_link($links) {
35 $newlink = sprintf("<a href='%s'>%s</a>",'admin.php?page=bh-preloader',__('Settings','custom-preloader'));
36 $links[] = $newlink;
37 return $links;
38 }
39
40 include_once(BHCUSTOMPREPLUGINDIR. '/inc/init.php');