Skip to main content

zipWpContent

Callable

  • zipWpContent(playground: UniversalPHP, wpContentZip?: ZipWpContentOptions): Promise<Uint8Array>

  • Replace the current wp-content directory with one from the provided zip file.


    Parameters

    • playground: UniversalPHP

      Playground client.

    • wpContentZip: ZipWpContentOptions = {}

      Zipped WordPress site.

    Returns Promise<Uint8Array>