Function getCurrentWpInfo

  • Retrieves the WordPress version and locale information from a given WordPress folder.

    Parameters

    • wpFolder: string

      The path to the WordPress folder.

    Returns {
        locale: string;
        version: string;
    }

    • An object containing the version and locale information.
    • locale: string
    • version: string

Generated using TypeDoc