$39 GRAYBYTE WORDPRESS FILE MANAGER $68

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/home/bravrvjk/dantho.rw/wp-content/plugins/elementor/core/isolation/

HOME
Current File : /home/bravrvjk/dantho.rw/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 );
	}
}


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
6 Nov 2025 10.43 AM
bravrvjk / bravrvjk
0755
elementor-adapter-interface.php
0.484 KB
17 Mar 2025 5.28 PM
bravrvjk / bravrvjk
0644
elementor-adapter.php
1.558 KB
17 Mar 2025 5.28 PM
bravrvjk / bravrvjk
0644
elementor-counter-adapter-interface.php
0.316 KB
17 Mar 2025 5.28 PM
bravrvjk / bravrvjk
0644
error_log
3.996 KB
7 Nov 2025 1.04 PM
bravrvjk / bravrvjk
0644
plugin-status-adapter-interface.php
0.276 KB
15 Apr 2024 3.06 PM
bravrvjk / bravrvjk
0644
plugin-status-adapter.php
1.271 KB
28 Oct 2024 3.08 PM
bravrvjk / bravrvjk
0644
wordpress-adapter-interface.php
0.965 KB
17 Mar 2025 5.28 PM
bravrvjk / bravrvjk
0644
wordpress-adapter.php
2.49 KB
17 Mar 2025 5.28 PM
bravrvjk / bravrvjk
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF