PHP Class Automattic\VIP\Performance\Last_Post_Modified

Afficher le fichier Open project: Automattic/vip-mu-plugins-public

Méthodes publiques

Méthode Description
bump_lastpostmodified ( $post )
get_lastpostmodified ( $timezone, $post_type )
handle_post_transition ( $new_status, $old_status, $post )
init ( )
override_get_lastpostmodified ( $lastpostmodified, $timezone, $post_type )
update_lastpostmodified ( $time, $timezone, $post_type )

Private Methods

Méthode Description
get_lock_name ( $post_type )
get_option_name ( $timezone, $post_type )
is_locked ( $post_type )
set_lock ( $post_type )

Method Details

bump_lastpostmodified() public static méthode

public static bump_lastpostmodified ( $post )

get_lastpostmodified() public static méthode

public static get_lastpostmodified ( $timezone, $post_type )

handle_post_transition() public static méthode

public static handle_post_transition ( $new_status, $old_status, $post )

init() public static méthode

public static init ( )

override_get_lastpostmodified() public static méthode

public static override_get_lastpostmodified ( $lastpostmodified, $timezone, $post_type )

update_lastpostmodified() public static méthode

public static update_lastpostmodified ( $time, $timezone, $post_type )