403Webshell
Server IP : 14.225.204.176  /  Your IP : 216.73.216.6
Web Server : nginx/1.24.0
System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64
User : root ( 0)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/php/harmoniegolfpark.com/wp-content/plugins/location-weather/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/php/harmoniegolfpark.com/wp-content/plugins/location-weather/inc/scripts.php
<?php

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.

/*** Plugin Scripts and CSS ***/
if ( ! function_exists( 'sp_location_weather_scripts_and_style' ) ) {
	function sp_location_weather_scripts_and_style() {
		// CSS Files.
		wp_enqueue_style( 'lw-custom', SP_LOCATION_WEATHER_URL . 'assets/css/custom.css', array(), '1.1.1' );
		wp_enqueue_style( 'location-weather-style', SP_LOCATION_WEATHER_URL . 'assets/css/style.css', array(), '1.1.1' );

		include SP_LOCATION_WEATHER_PATH . 'inc/custom-css.php';
		if ( isset( $custom_css ) && ! empty( $custom_css ) ) {
			wp_add_inline_style( 'lw-custom', $custom_css );
		}

		// JS Files.
		wp_enqueue_script( 'location-weather-min-js', SP_LOCATION_WEATHER_URL . 'assets/js/locationWeather.js', array( 'jquery' ), '1.1.1', true );
	}
	add_action( 'wp_enqueue_scripts', 'sp_location_weather_scripts_and_style' );
}

Youez - 2016 - github.com/yon3zu
LinuXploit