function getExportScriptUrl( $type ) {

		$url = false;

		$dir = Container::get( 'Styles' )->getDir();
		if ( Container::get( 'Styles' )->isCurrentThemeCompatible( 2 ) && realpath( "$dir/assets/scripts/$type/script.js" ) ) {
			$url = apply_filters( 'pb_stylesheet_directory_uri', get_stylesheet_directory_uri() ) . "/assets/scripts/$type/script.js";
		} elseif ( realpath( "$dir/export/$type/script.js" ) ) {
			$url = apply_filters( 'pb_stylesheet_directory_uri', get_stylesheet_directory_uri() ) . "/export/$type/script.js";
		}
		if ( CustomCss::isCustomCss() && CustomCss::isRomanized() && 'prince' === $type ) {
			$url = get_stylesheet_directory_uri() . "/export/$type/script-romanize.js";
		}

		return $url;
	}
function getExportScriptUrl( $type ) {

		$url = false;

		$dir = Container::get( 'Styles' )->getDir();
		if ( Container::get( 'Styles' )->isCurrentThemeCompatible( 2 ) && realpath( "$dir/assets/scripts/$type/script.js" ) ) {
			$url = apply_filters( 'pb_stylesheet_directory_uri', get_stylesheet_directory_uri() ) . "/assets/scripts/$type/script.js";
		} elseif ( realpath( "$dir/export/$type/script.js" ) ) {
			$url = apply_filters( 'pb_stylesheet_directory_uri', get_stylesheet_directory_uri() ) . "/export/$type/script.js";
		}
		if ( CustomCss::isCustomCss() && CustomCss::isRomanized() && 'prince' === $type ) {
			$url = get_stylesheet_directory_uri() . "/export/$type/script-romanize.js";
		}

		return $url;
	}
function getExportScriptUrl ( $ type ) { $ url = false ; $ dir = Container :: get ( 'Styles' ) -> getDir ( ) ; if ( Container :: get ( 'Styles' ) -> isCurrentThemeCompatible ( 2 ) && realpath ( "$dir/assets/scripts/$type/script.js" ) ) { $ url = apply_filters ( 'pb_stylesheet_directory_uri' , get_stylesheet_directory_uri ( ) ) . "/assets/scripts/$type/script.js" ; } elseif ( realpath ( "$dir/export/$type/script.js" ) ) { $ url = apply_filters ( 'pb_stylesheet_directory_uri' , get_stylesheet_directory_uri ( ) ) . "/export/$type/script.js" ; } if ( CustomCss :: isCustomCss ( ) && CustomCss :: isRomanized ( ) && 'prince' === $ type ) { $ url = get_stylesheet_directory_uri ( ) . "/export/$type/script-romanize.js" ; } return $ url ; }
Return the public URL to an export module's Javascript file.

@param string $type

@return string
Return the public URL to an export module s Javascript file .