Elementor button element doesn’t render shortcodes

The Elementor button element does not automatically render shortcodes in the “text” field.

If you wish to include an If-So shortcode within an Elementor button field to display dynamic text on the button, you can add the following code snippet to the end of your functions.php file.

//Elementor button - render shortcode in URL
        $link_setting = $el->get_settings('link');
            $link_setting['url'] = do_shortcode($link_setting['url']);