Remove all plugins / install base theme

This commit is contained in:
Tony Volpe
2024-06-18 16:14:48 -04:00
parent ecc33d62f0
commit 95cb30b884
7455 changed files with 0 additions and 1722920 deletions

View File

@@ -1,28 +0,0 @@
<?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;
} );
}
}