$upload_url, 'label' => $label, 'class' => $base_btn_class, ) ); // Ensure class contains the CTA marker. if ( strpos( (string) $upload_cta['class'], 'bt-cta-btn' ) === false ) { $upload_cta['class'] .= ' bt-cta-btn'; } // If Pro is not active, keep the button inert but visible (UI hint only). $href = $pro_active ? $upload_cta['url'] : 'javascript:void(0);'; $title = $pro_active ? '' : __( 'Install/activate Bongoto Pro to enable quick upload.', 'bongoto-marketplace' ); $rel = $pro_active ? 'nofollow noopener' : 'nofollow noopener nofollow'; $aria = __( 'Upload product', 'bongoto-marketplace' ); ?>