wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_cache_get_last_changed › WordPress Function

Desde4.7.0
Obsoleton/a
wp_cache_get_last_changed ( $group )
Parâmetros:
  • (string) $group Where the cache contents are grouped.
    Required: Yes
Retorna:
  • (string) UNIX timestamp with microseconds representing when the group was last changed.
Definido em:
Codex:

Gets last changed date for the specified cache group.



Fonte

function wp_cache_get_last_changed( $group ) {
	$last_changed = wp_cache_get( 'last_changed', $group );

	if ( $last_changed ) {
		return $last_changed;
	}

	return wp_cache_set_last_changed( $group );
}