AnonSec Shell
Server IP : 104.21.14.48  /  Your IP : 3.142.196.191   [ Reverse IP ]
Web Server : Apache
System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64
User : root ( 0)
PHP Version : 8.0.30.2
Disable Function : NONE
Domains : 0 Domains
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/wp-content/plugins/gravityforms/includes/config/items/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/wp-content/plugins/gravityforms/includes/config/items/class-gf-config-block-editor.php
<?php

namespace Gravity_Forms\Gravity_Forms\Config\Items;

use Gravity_Forms\Gravity_Forms\Config\GF_Config_Collection;
use Gravity_Forms\Gravity_Forms\Config\GF_Config;
use Gravity_Forms\Gravity_Forms\Config\GF_Configurator;

/**
 * Config items for the Block Editor.
 *
 * @since 2.6
 */
class GF_Config_Block_Editor extends GF_Config {

	protected $name               = 'gform_admin_config';
	protected $script_to_localize = 'gform_gravityforms_admin_vendors';

	/**
	 * Config data.
	 *
	 * @return array[]
	 */
	public function data() {
		$is_editor = function_exists( 'get_current_screen' ) && is_callable( array(
				get_current_screen(),
				'is_block_editor'
			) ) && get_current_screen()->is_block_editor();

		return array(
			'block_editor' => array(
				'data' => array(
					'is_block_editor' => $is_editor
				),
				'i18n' => array(
					'insert_gform_block_title'   => __( 'Add Block To Page', 'gravityforms' ),
					'insert_gform_block_content' => __( 'Click or drag the Gravity Forms Block into the page to insert the form you selected. %1$sLearn More.%2$s', 'gravityforms' ),
				),
				'urls' => array(
					'block_docs' => 'https://docs.gravityforms.com/gravity-forms-gutenberg-block/',
				),
			)
		);
	}
}

Anon7 - 2022
AnonSec Team