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



time_formats › Les Filtres WordPress

Depuis2.7.0
Dépréciéen/a
apply_filters( 'time_formats', array( __( 'g:i a' )
Paramètres:
  • (string[]) $default_time_formats Array of default time formats.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the default time formats.





Source

$time_formats = array_unique( apply_filters( 'time_formats', array( __( 'g:i a' ), 'g:i A', 'H:i' ) ) );