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



pre_wp_filesize › WordPress Filter Hooks

Seit6.0.0
Veraltetn/v
apply_filters( 'pre_wp_filesize', null, $path )
Parameter: (2)
  • () size The unfiltered value. Returning an int from the callback bypasses the filesize call.
    Erforderlich: Ja
  • () path Path to the file.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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