__( 'Upload', 'bongoto-marketplace' ), 'url' => $url, 'icon' => 'upload', ); } else { $url = function_exists( 'bongoto_get_start_selling_url' ) ? bongoto_get_start_selling_url() : ( function_exists( 'wc_get_page_permalink' ) ? wc_get_page_permalink( 'myaccount' ) : wp_login_url() ); $cta = array( 'label' => __( 'Start Selling', 'bongoto-marketplace' ), 'url' => $url, 'icon' => 'upload', ); } } /** Customizer label override. */ $label = get_theme_mod( 'bongoto_header_upload_label', $cta['label'] ); /** Classes & filters. */ $state_class = $is_seller_like ? 'is-upload upload-btn' : 'is-start-selling start-selling-btn'; $btn_class = 'bt-btn bt-btn--primary bt-cta-btn ' . $state_class; $btn_class = apply_filters( 'bongoto/header_cta_button_class', $btn_class ); $cta = apply_filters( 'bongoto/header_cta_payload', $cta ); /** ARIA label. */ $aria_label = $is_seller_like ? __( 'Upload product', 'bongoto-marketplace' ) : __( 'Start selling', 'bongoto-marketplace' ); ?>