SILENT KILLERPanel

Current Path: > home > transcarter > public_html > wp-content > plugins > LayerSlider > assets > wp > >


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter/public_html/wp-content/plugins/LayerSlider/assets/wp//

NameTypeSizeLast ModifiedActions
actions.php File 54296 bytes March 10 2023 20:45:26.
activation.php File 7778 bytes March 10 2023 20:45:26.
compatibility.php File 19739 bytes March 10 2023 20:45:26.
gutenberg_l10n.php File 2714 bytes March 10 2023 20:45:26.
hooks.php File 6092 bytes March 10 2023 20:45:26.
index.php File 27 bytes March 10 2023 20:45:26.
menus.php File 4976 bytes March 10 2023 20:45:26.
notices.php File 4879 bytes March 10 2023 20:45:26.
scripts.php File 23627 bytes March 10 2023 20:45:26.
scripts_l10n.php File 21771 bytes March 10 2023 20:45:26.
shortcodes.php File 14373 bytes March 10 2023 20:45:26.
slider_library_l10n.php File 489 bytes March 10 2023 20:45:26.
tinymce.php File 666 bytes March 10 2023 20:45:26.
tinymce_l10n.php File 659 bytes March 10 2023 20:45:26.
upgrades.php File 185 bytes March 10 2023 20:45:26.
widgets.php File 4045 bytes March 10 2023 20:45:26.

Reading File: /home/transcarter/public_html/wp-content/plugins/LayerSlider/assets/wp///tinymce.php

<?php

// Prevent direct file access
defined( 'LS_ROOT_FILE' ) || exit;

function ls_mce_hooks() {
	if(current_user_can('edit_posts') || current_user_can('edit_pages')) {
		if(get_user_option('rich_editing')) {
			add_filter('mce_buttons', 'ls_register_mce_buttons');
			add_filter('mce_external_plugins', 'ls_register_mce_js');
		}
	}
}

function ls_register_mce_buttons($buttons) {
	array_push($buttons, 'layerslider_button');
	return $buttons;
}

function ls_register_mce_js($plugins) {

	ls_enqueue_slider_library();

	$plugins['layerslider_button'] = LS_ROOT_URL.'/static/admin/js/ls-tinymce-button.js';
	return $plugins;
}

add_action('init', 'ls_mce_hooks');

SILENT KILLER Tool