?? GreyFile — Mystic File Browser

Current path: home/webdevt/www/dev-uz-avocat/wp-content/plugins/divi-contact-form-helper/



?? Go up: /home/webdevt/www/dev-uz-avocat/wp-content/plugins

?? Viewing: bootstrap.php

<?php

use PWH_DCFH\App\Helpers\PWH_DCFH_Helpers;
use PWH_DCFH\App\Controllers\PWH_DCFH_DB;
use PWH_DCFH\App\Admin\Handlers\PWH_DCFH_User_Handler;
use PWH_DCFH\App\Admin\Handlers\PWH_DCFH_Post_Meta_Handler;
use PWH_DCFH\App\Admin\Handlers\PWH_DCFH_Email_Template_Handler;
use PWH_DCFH\App\Admin\Logger\PWH_DCFH_Logger;
use PWH_DCFH\App\Frontend\Controllers\PWH_DCFH_Email_Merge_Tags_Handler;
use PWH_DCFH\App\Helpers\PWH_DCFH_Module_Helpers;
use PWH_DCFH\App\Helpers\PWH_DCFH_File_Helpers;
use PWH_DCFH\App\Admin\Controllers\PWH_DCFH_Admin_Notice;
use PWH_DCFH\App\Helpers\PWH_DCFH_WP_Helpers;

/**
 * Helper function to get the instance of PWH_DCFH_Helpers class.
 */
if (!function_exists('pwh_dcfh_helpers')):
    function pwh_dcfh_helpers()
    {
        return PWH_DCFH_Helpers::instance();
    }
endif;
/**
 * Returns an instance of PWH_DCFH_WP_Helpers.
 */
if (!function_exists('pwh_dcfh_wp_helpers')):
    function pwh_dcfh_wp_helpers()
    {
        return PWH_DCFH_WP_Helpers::instance();
    }
endif;
/**
 * Retrieves an instance of PWH_DCFH_Module_Helpers.
 */
if (!function_exists('pwh_dcfh_module_helpers')):
    function pwh_dcfh_module_helpers()
    {
        return PWH_DCFH_Module_Helpers::instance();
    }
endif;
/**
 * Check if the function 'pwh_dcfh_admin_notice' does not already exist, then define it.
 */
if (!function_exists('pwh_dcfh_admin_notice')):
    function pwh_dcfh_admin_notice()
    {
        return PWH_DCFH_Admin_Notice::instance();
    }
endif;
/**
 * Returns an instance of the PWH_DCFH_File_Helpers class.
 */
if (!function_exists('pwh_dcfh_file_helpers')):
    function pwh_dcfh_file_helpers()
    {
        return PWH_DCFH_File_Helpers::instance();
    }
endif;
/**
 * Checks if the function 'pwh_dcfh_logger' exists, and if not, defines it.
 */
if (!function_exists('pwh_dcfh_logger')):
    function pwh_dcfh_logger()
    {
        return PWH_DCFH_Logger::instance();
    }
endif;
/**
 * Returns an instance of the PWH_DCFH_DB class.
 */
if (!function_exists('pwh_dcfh_db')):
    function pwh_dcfh_db()
    {
        return PWH_DCFH_DB::instance();
    }
endif;
/**
 * Checks if the function 'pwh_dcfh_post_meta_handler' does not already exist, and defines it if not.
 */
if (!function_exists('pwh_dcfh_post_meta_handler')):
    function pwh_dcfh_post_meta_handler()
    {
        return PWH_DCFH_Post_Meta_Handler::instance();
    }
endif;
/**
 * Checks if the function 'pwh_dcfh_user_handler' does not already exist,
 * and defines it if not.
 */
if (!function_exists('pwh_dcfh_user_handler')):
    function pwh_dcfh_user_handler()
    {
        return PWH_DCFH_User_Handler::instance();
    }
endif;
/**
 * Retrieves the instance of the PWH_DCFH_Email_Merge_Tags_Handler class.
 */
if (!function_exists('pwh_dcfh_email_merge_tags_handler')):
    function pwh_dcfh_email_merge_tags_handler()
    {
        return PWH_DCFH_Email_Merge_Tags_Handler::instance();
    }
endif;
/**
 * Retrieves an instance of the PWH_DCFH_Email_Template_Handler class.
 */
if (!function_exists('pwh_dcfh_email_tpl_handler')):
    function pwh_dcfh_email_tpl_handler()
    {
        return PWH_DCFH_Email_Template_Handler::instance();
    }
endif;
/**
 * Debugging function for displaying data and optionally exiting.
 *
 * @param mixed $data
 * @param bool $exit
 *
 * @return void
 */
if (!function_exists('pwh_dcfh_dd')):
    /**
     * @param $data
     * @param bool $exit
     *
     * @return void
     */
    function pwh_dcfh_dd($data = '', $exit = true)
    {
        pwh_dcfh_helpers()::dd($data, $exit);
    }
endif;
/**
 * Logs data using pwh_dcfh_helpers::log method.
 *
 * @param mixed $data
 * @param bool $delete
 * @param string $file_name
 *
 * @return void
 */
if (!function_exists('pwh_dcfh_log')):
    function pwh_dcfh_log($data, $delete = false, $file_name = '')
    {
        pwh_dcfh_helpers()::log($data, $delete, $file_name);
    }
endif;
/**
 * This function triggers an action hook 'pwh_dcfh_confirmation_email'
 * which can be used by other functions or plugins to hook into the email
 * sending process and modify or extend its behavior.
 *
 * @param bool $is_sent
 * @param string $to
 * @param string $cc
 * @param string $bcc
 * @param string $subject
 * @param string $body
 * @param string $from
 * @param array $extra
 */
if (!function_exists('pwh_dcfh_confirmation_email')):
    function pwh_dcfh_confirmation_email($is_sent, $to, $cc, $bcc, $subject, $body, $from, $extra)
    {
        do_action('pwh_dcfh_confirmation_email', $is_sent, $to, $cc, $bcc, $subject, $body, $from, $extra);
    }
endif;


??

??