wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_relative_upload_path › Filtr WordPress Hooks

Od2.9.0
Przestarzałyn/a
› apply_filters( '_wp_relative_upload_path', $new_path, $path )
Parametry: (2)
  • () new_path Relative path to the file.
    Wymagane: Tak
  • () path Full path to the file.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the relative path to an uploaded file.





Źródło

return apply_filters( '_wp_relative_upload_path', $new_path, $path );