Update inbound-shortcodes.php

Request to edit by David:

Can you add in

if ( force_ssl_admin() ) { 
        $final_path = str_replace("http", "https", $final_path);
}

after line https://github.com/inboundnow/leads/blob/master/shared/inbound-shortcodes/inbound-shortcodes.php#L55 in the leads plugin and deactivate landing pages/calls to action to test is this works?

The new set file path function should look like:

  static function set_file_path(){
    if (function_exists('is_plugin_active')) {
      if (is_plugin_active('leads/wordpress-leads.php')) {
        $final_path = WPL_URL . "/";
      } else if (is_plugin_active('landing-pages/landing-pages.php')) {
        $final_path = LANDINGPAGES_URLPATH;
      } else if (is_plugin_active('cta/wordpress-cta.php')) {
        $final_path = WP_CTA_URLPATH;
      }
      if ( force_ssl_admin() ) {
        $final_path = str_replace("http", "https", $final_path);
      }
    }
    return $final_path;
  }