time_formats

time_formats

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('time_formats') is found 1 times:

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

    * @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