<?php

// scoper-autoload.php @generated by PhpScoper

$loader = (static function () {
    // Backup the autoloaded Composer files
    $existingComposerAutoloadFiles = $GLOBALS['__composer_autoload_files'] ?? [];

    $loader = require_once __DIR__.'/autoload.php';
    // Ensure InstalledVersions is available
    $installedVersionsPath = __DIR__.'/composer/InstalledVersions.php';
    if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;

    // Restore the backup and ensure the excluded files are properly marked as loaded
    $GLOBALS['__composer_autoload_files'] = \array_merge(
        $existingComposerAutoloadFiles,
        \array_fill_keys([], true)
    );

    return $loader;
})();

// Function aliases. For more information see:
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
if (!function_exists('__')) { function __() { return \WSAL_Vendor\__(...func_get_args()); } }
if (!function_exists('absint')) { function absint() { return \WSAL_Vendor\absint(...func_get_args()); } }
if (!function_exists('add_action')) { function add_action() { return \WSAL_Vendor\add_action(...func_get_args()); } }
if (!function_exists('add_filter')) { function add_filter() { return \WSAL_Vendor\add_filter(...func_get_args()); } }
if (!function_exists('add_query_arg')) { function add_query_arg() { return \WSAL_Vendor\add_query_arg(...func_get_args()); } }
if (!function_exists('admin_url')) { function admin_url() { return \WSAL_Vendor\admin_url(...func_get_args()); } }
if (!function_exists('apply_filters')) { function apply_filters() { return \WSAL_Vendor\apply_filters(...func_get_args()); } }
if (!function_exists('check_ajax_referer')) { function check_ajax_referer() { return \WSAL_Vendor\check_ajax_referer(...func_get_args()); } }
if (!function_exists('delete_site_option')) { function delete_site_option() { return \WSAL_Vendor\delete_site_option(...func_get_args()); } }
if (!function_exists('delete_site_transient')) { function delete_site_transient() { return \WSAL_Vendor\delete_site_transient(...func_get_args()); } }
if (!function_exists('do_action')) { function do_action() { return \WSAL_Vendor\do_action(...func_get_args()); } }
if (!function_exists('esc_url_raw')) { function esc_url_raw() { return \WSAL_Vendor\esc_url_raw(...func_get_args()); } }
if (!function_exists('get_site_option')) { function get_site_option() { return \WSAL_Vendor\get_site_option(...func_get_args()); } }
if (!function_exists('get_site_transient')) { function get_site_transient() { return \WSAL_Vendor\get_site_transient(...func_get_args()); } }
if (!function_exists('is_multisite')) { function is_multisite() { return \WSAL_Vendor\is_multisite(...func_get_args()); } }
if (!function_exists('is_serialized')) { function is_serialized() { return \WSAL_Vendor\is_serialized(...func_get_args()); } }
if (!function_exists('plugin_dir_path')) { function plugin_dir_path() { return \WSAL_Vendor\plugin_dir_path(...func_get_args()); } }
if (!function_exists('set_site_transient')) { function set_site_transient() { return \WSAL_Vendor\set_site_transient(...func_get_args()); } }
if (!function_exists('update_site_option')) { function update_site_option() { return \WSAL_Vendor\update_site_option(...func_get_args()); } }
if (!function_exists('wp_convert_hr_to_bytes')) { function wp_convert_hr_to_bytes() { return \WSAL_Vendor\wp_convert_hr_to_bytes(...func_get_args()); } }
if (!function_exists('wp_create_nonce')) { function wp_create_nonce() { return \WSAL_Vendor\wp_create_nonce(...func_get_args()); } }
if (!function_exists('wp_die')) { function wp_die() { return \WSAL_Vendor\wp_die(...func_get_args()); } }
if (!function_exists('wp_next_scheduled')) { function wp_next_scheduled() { return \WSAL_Vendor\wp_next_scheduled(...func_get_args()); } }
if (!function_exists('wp_rand')) { function wp_rand() { return \WSAL_Vendor\wp_rand(...func_get_args()); } }
if (!function_exists('wp_remote_post')) { function wp_remote_post() { return \WSAL_Vendor\wp_remote_post(...func_get_args()); } }
if (!function_exists('wp_schedule_event')) { function wp_schedule_event() { return \WSAL_Vendor\wp_schedule_event(...func_get_args()); } }
if (!function_exists('wp_unschedule_event')) { function wp_unschedule_event() { return \WSAL_Vendor\wp_unschedule_event(...func_get_args()); } }

return $loader;
