array( 'config' => array( 'size' => array( 'config' => array( 'default' => '25', 'min' => '10', 'max' => '150', 'label' => __( 'Size', 'thrive-cb' ), 'um' => [ 'px' ], ), ), 'monochrome_background' => array( 'css_suffix' => [ ' .visa-style-4-st0', ' .masterCard-style-4-st0', ' .americanExpress-style-4-st0', ' .payPal-style-4-st0', ' .discover-style-4-st0', ' .bitcoin-style-4-st0', ' .googlePay-style-4-st0', ' .applePay-style-4-st0', ], 'config' => array( 'default' => '#595E60', 'label' => __( 'Color', 'thrive-cb' ), ), ), 'style' => array( 'config' => array( 'label' => __( 'Style', 'thrive-cb' ), ), ), 'stylePicker' => array( 'config' => array( 'label' => __( 'Change style', 'thrive-cb' ), ), ), 'cards' => array( 'config' => array( 'label' => __( 'Change cards', 'thrive-cb' ), ), ), 'preview' => [ 'config' => [ 'sortable' => true, ], ], ), 'order' => 1, ), 'typography' => [ 'hidden' => true ], 'shadow' => [ 'hidden' => true ], 'layout' => [ 'disabled_controls' => [ 'Overflow', 'ScrollStyle', ], ], ); } /** * Element category that will be displayed in the sidebar * * @return string */ public function category() { return static::get_thrive_advanced_label(); } /** * Element info * * @return string|string[][] */ public function info() { return [ 'instructions' => [ 'type' => 'help', 'url' => 'credit_card', 'link' => 'https://help.thrivethemes.com/en/articles/4425794-how-to-use-the-credit-card-element', ], ]; } }