Un motore di ricerca WordPress per sviluppatori e autori di temi



{$action}_prefilter ›

Da4.0.0
Deprecaton/a
apply_filters( "{$action}_prefilter", $file )
Parametri:
  • (string[]) $file An array of data for a single file.
    Richiesto:
Definito a:
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.





Sorgenti

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