| Server IP : 104.21.21.239 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/licampfair.com/wp-content/plugins/jetpack/ |
Upload File : |
<?php
function jetpack_require_lib( $slug ) {
static $loaded = array();
if ( defined( 'ABSPATH' ) && ! defined( 'WP_CONTENT_DIR' ) ) {
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down
}
$lib_dir = WP_CONTENT_DIR . '/lib';
/**
* Filter the location of the library directory.
*
* @since 2.5.0
*
* @param string $lib_dir Path to the library directory.
*/
$lib_dir = apply_filters( 'jetpack_require_lib_dir', $lib_dir );
$loaded_key = "{$lib_dir}{$slug}";
if ( ! empty( $loaded[ $loaded_key ] ) ) {
return;
}
$loaded[ $loaded_key ] = true;
$file_name = "$lib_dir/$slug.php";
if ( is_readable( $file_name ) ) {
require_once $file_name;
return;
}
$file_name = "$lib_dir/$slug/0-load.php";
if ( is_readable( $file_name ) ) {
require_once $file_name;
return;
}
$basename = basename( $slug );
$file_name = "$lib_dir/$slug/$basename.php";
require_once $file_name;
}