'brandy-account-element ' . esc_attr( brandy_get_editable_class() ), 'data-builder' => $args['builder'], 'data-section-id' => $section_id, 'data-section-title' => $section_title, 'data-element-type' => $section_id, ); $settings = $element['settings']; if ( empty( $settings ) ) { return; } $icon = Account::get_account_icon( $settings ); $label = Account::get_account_label( $settings ); $account_link = Account::get_account_link( $settings ); $state = Account::get_state(); $icon_style = $settings[ $state ]['icon']['style'] ?? 'outline'; ?>
>
Account::LOGGED_IN_STATE === $state ? $label_position : null, 'device' => $device, 'href' => $account_link, 'state' => $state, 'target' => ! empty( $settings[ Account::LOGGED_IN_STATE ]['target'] ) ? '_blank' : '_self', ); ?> $account_link, 'state' => $state, 'target' => ! empty( $settings[ Account::LOGGED_OUT_STATE ]['target'] ) ? '_blank' : '_self', ); ?>
$section_id, 'part_name' => $section_title, ) ); ?>