Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



{$action}_prefilter ›

Seit4.0.0
Veraltetn/v
apply_filters( "{$action}_prefilter", $file )
Parameter:
  • (string[]) $file An array of data for a single file.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the data for a file before it is uploaded to WordPress.

The dynamic portion of the hook name, $action, refers to the post action.





Quellcode

$file = apply_filters( "{$action}_prefilter", $file );