wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_create_file_in_uploads › Les Filtres WordPress

Depuis2.1.0
Dépréciéen/a
apply_filters( 'wp_create_file_in_uploads', $file, $attachment_id )
Paramètres: (2)
  • (string) $file Path to the file.
    Requis: Oui
  • (int) $attachment_id Attachment ID.
    Requis: Oui
Défini(e) dans:
Codex:

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

Used for file replication.





Source

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