https://t.me/RX1948
Server : LiteSpeed
System : Linux srv526460274 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : kerao9884 ( 1082)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /home/kaos188slot.com/public_html/wp-content/plugins/wrqak/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/kaos188slot.com/public_html/wp-content/plugins/wrqak/includes/functions.php
<?php

/**
 * Helpers library functions
 *
 * @since      0.0.1
 *
 * @package    Wtsr
 * @subpackage Wtsr/includes
 */

if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * @version 0.0.1
 * @since   0.0.1
 * @return  bool
 */
function cf7cstmzr_is_plugin_activated( $plugin_folder, $plugin_file ) {
    if ( cf7cstmzr_is_plugin_active_simple( $plugin_folder . '/' . $plugin_file ) ) {
        return true;
    } else {
        return cf7cstmzr_is_plugin_active_by_file( $plugin_file );
    }
}

/**
 * @version 0.0.1
 * @since   0.0.1
 * @return  bool
 */
function cf7cstmzr_is_plugin_active_simple( $plugin ) {
    return (
        in_array( $plugin, apply_filters( 'active_plugins', get_option( 'active_plugins', array() ) ) ) ||
        ( is_multisite() && array_key_exists( $plugin, get_site_option( 'active_sitewide_plugins', array() ) ) )
    );
}

/**
 * @version 0.0.1
 * @since   0.0.1
 * @return  bool
 */
function cf7cstmzr_is_plugin_active_by_file( $plugin_file ) {
    foreach ( cf7cstmzr_get_active_plugins() as $active_plugin ) {
        $active_plugin = explode( '/', $active_plugin );

        if ( isset( $active_plugin[1] ) && $plugin_file === $active_plugin[1] ) {
            return true;
        }
    }

    return false;
}

/**
 * @version 0.0.1
 * @since   0.0.1
 * @return  array
 */
function cf7cstmzr_get_active_plugins() {
    $active_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins', array() ) );
    if ( is_multisite() ) {
        $active_plugins = array_merge( $active_plugins, array_keys( get_site_option( 'active_sitewide_plugins', array() ) ) );
    }
    return $active_plugins;
}

/**
 * @param $notice
 * @param $level
 */
function cf7cstmzr_show_notice($notice, $level) {
    include_once CF7CSTMZR_PLUGIN_PATH . 'admin/partials/notices' . $notice . '.php';
}

https://t.me/RX1948 - 2025