time_formats

time_formats

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.3.2

apply_filters('time_formats') is found 1 times:

  • /wp-admin/options-general.php line 369

    * @since 2.7.0
    *
    * @param string[] $default_time_formats Array of default time formats.
    */
    $time_formats = array_unique( apply_filters( ‘time_formats’, array( __( ‘g:i a’ ), ‘g:i A’, ‘H:i’ ) ) );

    $custom = true;

    foreach ( $time_formats as $format ) {
    echo “\t