human_time_diff

human_time_diff

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('human_time_diff') is found 1 times:

  • /wp-includes/formatting.php line 3921
    	 * @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.