wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_wp_filesize › WordPress Filter Hooks

Da7.1.0
Deprecaton/a
› apply_filters( 'pre_wp_filesize', null, $path )
Parametri: (2)
  • () size The unfiltered value. Returning a non-negative number from the callback bypasses the filesize call.
    Richiesto: Sì
  • () path Path to the file.
    Richiesto: Sì
Definito a:
Codex:

Filters the result of wp_filesize() before the file_exists() PHP function is run.





Sorgenti

$size = apply_filters( 'pre_wp_filesize', null, $path );