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



wp_create_file_in_uploads › WordPress Filter Hooks

Da2.1.0
Deprecaton/a
apply_filters( 'wp_create_file_in_uploads', $file, $attachment_id )
Parametri: (2)
  • (string) $file Path to the file.
    Richiesto:
  • (int) $attachment_id Attachment ID.
    Richiesto:
Definito a:
Codex:

Filters the attachment file path after the custom header or background image is set.

Used for file replication.





Sorgenti

$file = apply_filters( 'wp_create_file_in_uploads', $file, $attachment_id ); // For replication.