devowl-wp
    Preparing search index...

    See PHP file inc/Assets.php.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    chunkFolder?: string
    chunks?: Record<string, string[]>
    chunksLanguageFolder?: string
    publicUrl?: string
    restNamespace?: string
    restNonce?: string
    restPathObfuscateOffset?: string
    restQuery?: object
    restRecreateNonceEndpoint?: string
    restRoot?: string
    restUrl?: string
    slug: string
    textDomain: string
    version: string

    Methods

    • Get the slug from the current process (webpack) instead of the PHP plugin output. For some cases you need to use that.

      Parameters

      • slug: string
      • camelCase: boolean = false

      Returns string

    • Convert a slug like "my-plugin" to "myPlugin". This can be useful for library naming (window[""] is bad because the hyphens).

      Parameters

      • slug: string

      Returns string