WordPress at Your Fingertips
function is not described

_wp_check_for_scheduled_update_comment_type() WP 5.5.0

check that it's still scheduled while we haven't finished updating comment types.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.


null. Nothing.



Code of _wp_check_for_scheduled_update_comment_type() WP 5.8.3

function _wp_check_for_scheduled_update_comment_type() {
	if ( ! get_option( 'finished_updating_comment_type' ) && ! wp_next_scheduled( 'wp_update_comment_type_batch' ) ) {
		wp_schedule_single_event( time() + MINUTE_IN_SECONDS, 'wp_update_comment_type_batch' );