Documentation

UploadSupport
in package

FinalYes

Boundary seam over `wp_upload_dir()`. Empty strings outside a WP runtime.

Table of Contents

Methods

baseDir()  : string
Absolute filesystem path to the uploads base directory.
baseUrl()  : string
Public URL of the uploads base directory.
info()  : array<string, mixed>

Methods

baseDir()

Absolute filesystem path to the uploads base directory.

public static baseDir() : string
Return values
string

baseUrl()

Public URL of the uploads base directory.

public static baseUrl() : string
Return values
string

info()

private static info() : array<string, mixed>
Return values
array<string, mixed>
On this page

Search results