SILENT KILLERPanel

Current Path: > home > > transcarter > > www > > > wp-content > > plugins > elementor > core


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//www///wp-content//plugins/elementor/core

NameTypeSizeLast ModifiedActions
admin Directory - -
app Directory - -
base Directory - -
behaviors Directory - -
breakpoints Directory - -
common Directory - -
database Directory - -
debug Directory - -
document-types Directory - -
dynamic-tags Directory - -
editor Directory - -
experiments Directory - -
files Directory - -
frontend Directory - -
isolation Directory - -
kits Directory - -
logger Directory - -
page-assets Directory - -
responsive Directory - -
role-manager Directory - -
settings Directory - -
upgrade Directory - -
utils Directory - -
documents-manager.php File 20824 bytes July 17 2025 21:06:23.
modules-manager.php File 3454 bytes July 17 2025 21:06:23.
wp-api.php File 1354 bytes July 17 2025 21:06:23.

Reading File: /home//transcarter//www///wp-content//plugins/elementor/core/wp-api.php

<?php
namespace Elementor\Core;

use Elementor\Core\Utils\Collection;

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

/**
 * This class is responsible for the interaction with WordPress Core API.
 * The main benefit is making it easy to mock in testing
 * and it can help to create unit tests without the hustle of mocking WordPress itself.
 */
class Wp_Api {
	/**
	 * @var Collection
	 */
	private $plugins;

	/**
	 * @return Collection
	 */
	public function get_plugins() {
		if ( ! function_exists( 'get_plugins' ) ) {
			require_once ABSPATH . 'wp-admin/includes/plugin.php';
		}

		if ( ! $this->plugins ) {
			$this->plugins = new Collection( get_plugins() );
		}

		return $this->plugins;
	}

	/**
	 * @return Collection
	 */
	public function get_active_plugins() {
		return $this->get_plugins()
			->only( get_option( 'active_plugins' ) );
	}

	/**
	 * @return object|array
	 */
	public function plugins_api( $action, $args ) {
		return plugins_api( $action, $args );
	}

	/**
	 * @return bool
	 */
	public function is_plugin_active( $plugin ) {
		return is_plugin_active( $plugin );
	}

	/**
	 * @return bool|int|null|true
	 */
	public function activate_plugin( $plugin ) {
		return activate_plugin( $plugin );
	}

	public function wp_attachment_is_image( $post = null ) {
		return wp_attachment_is_image( $post );
	}
}

SILENT KILLER Tool