Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
immortalist
/
wp-content
/
themes
/
woodmart
/
inc
/
integrations
/
gutenberg
/
src
/
blocks
/
mailchimp
:
attributes.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php use XTS\Gutenberg\Block_Attributes; if ( ! function_exists( 'wd_get_block_mailchimp_attrs' ) ) { function wd_get_block_mailchimp_attrs() { $attr = new Block_Attributes(); $attr->add_attr( array( 'form_id' => array( 'type' => 'string', ), 'color_scheme' => array( 'type' => 'string', ), 'formShape' => array( 'type' => 'string', ), ) ); $attr->add_attr( wd_get_color_control_attrs( 'formColor' ) ); $attr->add_attr( wd_get_color_control_attrs( 'formPlaceholderColor' ) ); $attr->add_attr( wd_get_color_control_attrs( 'formBrdColor' ) ); $attr->add_attr( wd_get_color_control_attrs( 'formBrdColorFocus' ) ); $attr->add_attr( wd_get_color_control_attrs( 'formBg' ) ); $attr->add_attr( wd_get_color_control_attrs( 'buttonTextColor' ) ); $attr->add_attr( wd_get_color_control_attrs( 'buttonBgColor' ) ); $attr->add_attr( wd_get_color_control_attrs( 'buttonTextColorHover' ) ); $attr->add_attr( wd_get_color_control_attrs( 'buttonBgColorHover' ) ); wd_get_advanced_tab_attrs( $attr ); return $attr->get_attr(); } }