HEX
Server: Apache
System: Linux uyu7574470001-7d78c9ff74-xfpwm 4.19.91-21.al7.x86_64 #1 SMP Wed Sep 2 19:47:49 CST 2020 x86_64
User: ()
PHP: 7.4.16
Disabled: chmod,exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,dl,popen,pcntl_exec,socket_accept,socket_bind,socket_clear_error,socket_close,socket_connect,socket_create_listen,socket_create_pair,socket_create,socket_get_option,socket_getpeername,socket_getsockname,socket_last_error,socket_listen,socket_read,socket_recv,socket_recvfrom,socket_select,socket_send,socket_sendto,socket_set_block,socket_set_nonblock,socket_set_option,socket_shutdown,socket_strerror,socket_write,stream_socket_client,stream_socket_server,pfsockopen,disk_total_space,disk_free_space,chown,diskfreespace,getrusage,get_current_user,getmyuid,getmypid,dl,leak,listen,chgrp,link,symlink,dlopen,proc_nice,proc_get_stats,proc_terminate,shell_exec,sh2_exec,posix_getpwuid,posix_getgrgid,posix_kill,ini_restore,mkfifo,dbmopen,dbase_open,filepro,filepro_rowcount,posix_mkfifo,putenv,sleep,fsockopen
Upload Files
File: /usr/home/uyu7574470001/htdocs/wp-content/plugins/elementor/core/isolation/wordpress-adapter.php
<?php

namespace Elementor\Core\Isolation;

use Elementor\Core\Settings\Manager;
use Elementor\Core\Upgrade\Manager as Upgrade_Manager;

class Wordpress_Adapter implements Wordpress_Adapter_Interface {

	public function get_plugins(): array {
		return get_plugins();
	}

	public function is_plugin_active( $plugin_path ): bool {
		return is_plugin_active( $plugin_path );
	}

	public function wp_nonce_url( $url, $action ): string {
		return wp_nonce_url( $url, $action );
	}

	public function self_admin_url( $path ): string {
		return self_admin_url( $path );
	}

	/**
	 * Retrieves an array of pages (or hierarchical post type items).
	 *
	 * @return WP_Post[]|false Array of pages (or hierarchical post type items). Boolean false if the
	 *                         specified post type is not hierarchical or the specified status is not
	 *                         supported by the post type.
	 */
	public function get_pages( $args ): ?array {
		return get_pages( $args );
	}

	/**
	 * Creates and returns a wp query instance.
	 *
	 * @return \WP_Query
	 */
	public function get_query( $args ): ?\WP_Query {
		return new \WP_Query( $args );
	}

	public function get_option( $option_key ) {
		return get_option( $option_key );
	}

	public function update_option( $option_key, $option_value ): void {
		update_option( $option_key, $option_value );
	}

	public function add_option( $option_key, $option_value ): void {
		add_option( $option_key, $option_value );
	}

	public function get_user_preferences( $preference_key ) {
		return Manager::get_settings_managers( 'editorPreferences' )
			->get_model()
			->get_settings( $preference_key );
	}

	public function set_user_preferences( $preference_key, $value ) {
		Manager::get_settings_managers( 'editorPreferences' )
			->get_model()
			->set_settings( $preference_key, $value );
	}

	public function is_new_installation() {
		return Upgrade_Manager::is_new_installation();
	}

	public function add_query_arg( $args, $url ): string {
		return add_query_arg( $args, $url );
	}

	public function has_custom_logo(): bool {
		return has_custom_logo();
	}

	public function current_user_can( $capability, $args ): bool {
		return current_user_can( $capability, $args );
	}

	public function get_post_status( $post_id ): string {
		return get_post_status( $post_id );
	}

	public function get_posts( $args ): array {
		return get_posts( $args );
	}

	public function get_post_types( $args = [], $output = 'names', $operator = 'and' ): array {
		return get_post_types( $args, $output, $operator );
	}
}