Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > > elementor > core > utils
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
import-export | Directory | - | - | |
promotions | Directory | - | - | |
svg | Directory | - | - | |
assets-config-provider.php | File | 1522 bytes | August 23 2023 17:47:32. | |
assets-translation-loader.php | File | 2560 bytes | March 17 2025 17:28:54. | |
collection.php | File | 10116 bytes | April 28 2025 11:15:16. | |
exceptions.php | File | 709 bytes | March 17 2025 17:28:54. | |
force-locale.php | File | 3640 bytes | April 23 2023 15:22:46. | |
hints.php | File | 10506 bytes | March 17 2025 17:28:54. | |
http.php | File | 981 bytes | April 23 2023 15:22:46. | |
isolation-manager.php | File | 415 bytes | December 19 2024 15:59:46. | |
plugins-manager.php | File | 2908 bytes | April 28 2025 11:15:16. | |
static-collection.php | File | 1111 bytes | April 23 2023 15:22:46. | |
str.php | File | 1001 bytes | March 17 2025 17:28:54. | |
version.php | File | 3749 bytes | March 17 2025 17:28:54. |
<?php namespace Elementor\Core\Utils; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Http extends \WP_Http { /** * Pass multiple urls to implements a fallback machine when one of the urls * is sending an error or not exists anymore. * * @param array $urls * @param array $args * * @return array|\WP_Error|null */ public function request_with_fallback( array $urls, $args = [] ) { $response = null; foreach ( $urls as $url ) { $response = $this->request( $url, $args ); if ( $this->is_successful_response( $response ) ) { return $response; } } return $response; } /** * @param $response * * @return bool */ private function is_successful_response( $response ) { if ( is_wp_error( $response ) ) { return false; } $response_code = (int) wp_remote_retrieve_response_code( $response ); if ( in_array( $response_code, [ 0, 404, 500 ], true ) ) { return false; } return true; } }
SILENT KILLER Tool