403Webshell
Server IP : 157.230.181.24  /  Your IP : 216.73.217.11
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/vhosts/conductive-digital/app/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/conductive-digital/app/admin/actions.php
<?php

	use Themosis\Facades\Action;
	use Themosis\Facades\Filter;

	/**
	 * Enqueue scripts
	 */
	Action::add('wp_enqueue_scripts', function () {
		wp_enqueue_script('jquery');
		//wp_enqueue_script('vendor', asset("js/vendor.min.js"), ['jquery'], '1.0', TRUE);
		wp_enqueue_script('app', asset("js/app.min.js"), ['jquery'], '1.0', TRUE);
	});

	/**
	 * Enqueue styles
	 */
	Action::add('wp_print_styles', function () {
		//wp_enqueue_style('font-awesome', asset("css/plugins/font-awesome/css/font-awesome.min.css"), NULL, '4.5.0', 'all');
		wp_enqueue_style('vendor', asset("css/vendor.min.css"), '1.0.0', 'all');
		wp_enqueue_style('main', asset("css/app.css"), ['vendor'], '1.0.0', 'all');
	});

	/**
	 * Allow Relevanssi to play nice with Yoast
	 */
	Filter::add('relevanssi_modify_wp_query', function ($query) {
		$query->set('meta_query', '');

		return $query;
	}, 99);

	/**
	 * Disable tablepress's default styling
	 */
	Filter::add('tablepress_use_default_css', '__return_false');

	/**
	 * ACF
	 */
	Filter::add('acf/settings/save_json', function ($path) {
		$path = themosis_path('theme.resources') . 'acf-json';

		return $path;
	});

	Filter::add('acf/settings/load_json', function ($paths) {
		unset($paths[0]);

		$paths[] = themosis_path('theme.resources') . 'acf-json';

		return $paths;
	});


Youez - 2016 - github.com/yon3zu
LinuXploit