human_time_diff

human_time_diff

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('human_time_diff') is found 1 times:

  • /wp-includes/formatting.php line 3921
    3917
    3918
    3919
    3920
    3921
    3922
    3923
    3924
    3925
    3926
    3927
         * @param int    $diff  The difference in seconds.
         * @param int    $from  Unix timestamp from which the difference begins.
         * @param int    $to    Unix timestamp to end the time difference.
         */
        return apply_filters( 'human_time_diff', $since, $diff, $from, $to );
    }
     
    /**
     * Generates an excerpt from the content, if needed.
     *
     * Returns a maximum of 55 words with an ellipsis appended if necessary.