%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/var/www/projetos/stb.ind.br/wp-content/plugins/acf-json/includes/
Upload File :
Create Path :
Current File : //proc/self/root/var/www/projetos/stb.ind.br/wp-content/plugins/acf-json/includes/json.php

<?php

namespace ACF_Json;

if ( ! defined( 'ABSPATH' ) ) {
	die( 'not allowed' );
}

new JSON();

final class JSON {

	function __construct() {
		add_filter( 'acf/settings/save_json', array( __CLASS__, 'json_save' ), 50 );
        add_filter( 'acf/settings/load_json', array( __CLASS__, 'json_load' ) );
    }

	public static function json_save( $path ) {
		$path = ACF_Json::get_path() . 'acf-json';
		return $path;
	}

	public static function json_load( $paths ) {
		$paths[] = ACF_Json::get_path() . 'acf-json';
		return $paths;
	}

}

Zerion Mini Shell 1.0