| @@ -1,8 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace BitCode\BitForm\Widgets; |
| 4 | 4 | |
| 5 | +use BitCode\BitForm\Core\Util\FrontendHelpers; | |
| 5 | 6 | use BitCode\BitForm\GlobalHelper; |
| 6 | 7 | use Elementor\Controls_Manager; |
| 7 | 8 | use Elementor\Widget_Base; |
| 8 | 9 | |
| @@ -92,9 +93,9 @@ | ||
| 92 | 93 | if (empty($form_id)) { |
| 93 | 94 | return; |
| 94 | 95 | } |
| 95 | 96 | |
| 96 | - $css_path = BITFORMS_UPLOAD_BASE_URL . '/form-styles/bitform-' . $form_id . '-formid.css'; | |
| 97 | + $css_path = FrontendHelpers::styleSrc('form-styles/bitform-' . $form_id . '-formid.css'); | |
| 97 | 98 | |
| 98 | 99 | wp_dequeue_style('bitform-style-css'); |
| 99 | 100 | |
| 100 | 101 | $formUpdateVersion = get_option('bitform_form_update_version'); |