DefaultFolder
Table of Contents
Methods
- gettext() : string
- Modify text in list table.
- localize() : array<string|int, mixed>
- Localize frontend.
- overrideConstruct() : mixed
- overrideSave() : mixed
- posts_clauses() : array<string|int, mixed>
- Modify fields to a fast select query when the setting "None at startup" is configured.
Methods
gettext()
Modify text in list table.
public
gettext(array<string|int, string> $translation, string $text, string $domain) : string
Parameters
- $translation : array<string|int, string>
- $text : string
- $domain : string
Return values
stringlocalize()
Localize frontend.
public
localize(array<string|int, mixed> $arr) : array<string|int, mixed>
Parameters
- $arr : array<string|int, mixed>
Return values
array<string|int, mixed>overrideConstruct()
public
overrideConstruct() : mixed
overrideSave()
public
overrideSave(mixed $response, mixed $user, mixed $request) : mixed
Parameters
- $response : mixed
- $user : mixed
- $request : mixed
posts_clauses()
Modify fields to a fast select query when the setting "None at startup" is configured.
public
posts_clauses(array<string|int, mixed> $clauses, WP_Query $query, int $folderId, int $root) : array<string|int, mixed>
Parameters
- $clauses : array<string|int, mixed>
- $query : WP_Query
- $folderId : int
- $root : int