Server IP : 52.91.253.208 / Your IP : 3.133.157.142 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-external-links/includes/ |
Upload File : |
<?php /** * Class WPEL_Register_Scripts * * @package WPEL * @category WordPress Plugin * @version 2.3 * @link https://www.webfactoryltd.com/ * @license Dual licensed under the MIT and GPLv2+ licenses */ final class WPEL_Register_Scripts extends WPRun_Base_1x0x0 { /** * Action for "wp_enqueue_scripts" */ protected function action_wp_enqueue_scripts() { $this->register_scripts(); } /** * Action for "admin_enqueue_scripts" */ protected function action_admin_enqueue_scripts() { $this->register_scripts(); } /** * Register styles and scripts */ protected function register_scripts() { $plugin_version = get_option( 'wpel-version' ); // set style font awesome icons wp_register_style( 'font-awesome' , 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' , array() , $plugin_version ); // front style wp_register_style( 'wpel-style' , plugins_url( '/public/css/wpel.css', WPEL_Plugin::get_plugin_file() ) , array() , $plugin_version ); // set admin style wp_register_style( 'wpel-admin-style' , plugins_url( '/public/css/wpel-admin.css', WPEL_Plugin::get_plugin_file() ) , array() , $plugin_version ); // set admin global style wp_register_style( 'wpel-admin-global-style' , plugins_url( '/public/css/wpel-admin-global.css', WPEL_Plugin::get_plugin_file() ) , array() , $plugin_version ); // set wpel admin script wp_register_script( 'wpel-admin-script' , plugins_url( '/public/js/wpel-admin.js', WPEL_Plugin::get_plugin_file() ) , array( 'jquery' ) , $plugin_version , true ); } } /*?>*/