PHP Class Automattic\VIP\Performance\Last_Post_Modified

Show file Open project: Automattic/vip-mu-plugins-public

Public Methods

Method 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

Method 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 method

public static bump_lastpostmodified ( $post )

get_lastpostmodified() public static method

public static get_lastpostmodified ( $timezone, $post_type )

handle_post_transition() public static method

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

init() public static method

public static init ( )

override_get_lastpostmodified() public static method

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

update_lastpostmodified() public static method

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