general_components(); $components = array_merge( $components, array( 'animation' => array( 'hidden' => true ), 'responsive' => array( 'hidden' => true ), 'styles-templates' => array( 'hidden' => true ), ) ); $components['layout']['disabled_controls'] = array( 'Display', 'Alignment', '.tve-advanced-controls' ); foreach ( $components['typography']['config'] as $control => $config ) { if ( in_array( $control, array( 'css_suffix', 'css_prefix' ) ) ) { continue; } $css_suffix = $control === 'LineHeight' ? array( ' label' ) : array( ' input', ' label' ); $components['typography']['config'][ $control ]['css_suffix'] = $css_suffix; } return $components; } public function hide() { return true; } public function has_hover_state() { return true; } } return new Form_Remember_Me( 'tvd-login-remember-me' );