403Webshell
Server IP : 37.27.51.148  /  Your IP : 216.73.217.84
Web Server : nginx/1.14.1
System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/advanced-custom-fields-pro/pro/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/advanced-custom-fields-pro/pro/datastore.php
<?php
/**
 * @package ACF
 * @author  WP Engine
 *
 * © 2026 Advanced Custom Fields (ACF®). All rights reserved.
 * "ACF" is a trademark of WP Engine.
 * Licensed under the GNU General Public License v2 or later.
 * https://www.gnu.org/licenses/gpl-2.0.html
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Whether the ACF datastore is enabled.
 *
 * The datastore requires WordPress 6.7+ and can be enabled via the
 * `acf/settings/enable_datastore` filter.
 *
 * @since 6.8.1
 *
 * @return boolean
 */
function acf_is_using_datastore() {
	// Bail if not on WordPress 6.7+.
	if ( ! version_compare( get_bloginfo( 'version' ), '6.7', '>=' ) ) {
		return false;
	}

	/**
	 * Filters whether the ACF datastore is enabled.
	 *
	 * @since 6.8.1
	 *
	 * @param boolean $enabled Whether the datastore is enabled. Default false.
	 */
	return (bool) apply_filters( 'acf/settings/enable_datastore', false );
}

Youez - 2016 - github.com/yon3zu
LinuXploit