| Server IP : 43.130.17.34 / Your IP : 216.73.217.6 Web Server : nginx/1.28.0 System : Linux VM-4-12-opencloudos 6.6.92-34.1.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 25 21:32:13 CST 2025 x86_64 User : www ( 1000) PHP Version : 8.0.26 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/yespkg.com/wp-content/plugins/admin-columns-pro.5.1.3/ |
Upload File : |
<?php
use AC\Asset;
use AC\Request;
use ACP\Editing;
use ACP\Export;
use ACP\Filtering;
use ACP\Search;
use ACP\Sorting;
/**
* @return ACP\AdminColumnsPro
*/
function ACP() {
return ACP\AdminColumnsPro::instance();
}
/**
* @return bool
* @since 5.1
*/
function acp_sorting_show_all_results() {
return ( new Sorting\Settings\AllResults() )->is_enabled();
}
/**
* @return string
* @since 4.4
*/
function acp_support_email() {
return 'support@admincolumns.com';
}
/**
* Check if an addon is compatible or not
*
* @param string $namespace
* @param string $version
*
* @return bool
*/
function acp_is_addon_compatible( $namespace, $version ) {
$addons = [
'ACA\ACF' => '2.4',
'ACA\BP' => '1.3.2',
'ACA\EC' => '1.2.3',
'ACA\NF' => '1.2.1',
'ACA\Pods' => '1.2.1',
'ACA\Types' => '1.3.3',
'ACA\WC' => '3.2',
];
$namespace = rtrim( $namespace, '\\' );
if ( ! array_key_exists( $namespace, $addons ) ) {
return true;
}
return version_compare( $addons[ $namespace ], $version, '<=' );
}
/**
* @return string
*/
function acp_get_license_page_url() {
if ( is_multisite() && ACP()->is_network_active() ) {
return ac_get_admin_network_url( 'settings' );
}
return ac_get_admin_url( 'settings' );
}
/**
* @return Filtering\Helper
* @since 4.2
* @deprecated 4.5
*/
function acp_filtering_helper() {
_deprecated_function( __FUNCTION__, '4.5', 'ACP\Filtering\Helper' );
return new Filtering\Helper();
}
/**
* @return Editing\Helper
* @deprecated 4.5
*/
function acp_editing_helper() {
_deprecated_function( __FUNCTION__, '4.5', 'ACP\Editing\Helper' );
return new Editing\Helper();
}
/**
* @since 4.0
* @deprecated 5.1
*/
function acp_editing() {
_deprecated_function( __FUNCTION__, '5.1' );
return new Editing\Addon( AC()->get_storage(), new Asset\Location\Absolute( ACP()->get_url(), ACP()->get_dir() ), new Request() );
}
/**
* @deprecated 5.1
* @since 4.0
*/
function acp_filtering() {
_deprecated_function( __FUNCTION__, '5.1' );
return new Filtering\Addon( AC()->get_storage(), new Asset\Location\Absolute( ACP()->get_url(), ACP()->get_dir() ), new Request() );
}
/**
* @deprecated 5.1
* @since 4.0
*/
function acp_sorting() {
_deprecated_function( __FUNCTION__, '5.1' );
return new Sorting\Addon( AC()->get_storage(), new Asset\Location\Absolute( ACP()->get_url(), ACP()->get_dir() ), AC()->admin() );
}
/**
* @deprecated 5.1
*/
function ac_addon_export() {
_deprecated_function( __FUNCTION__, '5.1' );
return new Export\Addon( new Asset\Location\Absolute( ACP()->get_url(), ACP()->get_dir() ) );
}
/**
* @deprecated 5.1
*/
function ac_addon_search() {
_deprecated_function( __FUNCTION__, '5.1' );
return new Search\Addon( AC()->get_storage(), new Asset\Location\Absolute( ACP()->get_url(), ACP()->get_dir() ) );
}