Un motore di ricerca WordPress per sviluppatori e autori di temi



_wp_check_for_scheduled_split_terms ›

Da4.3.0
Deprecaton/a
_wp_check_for_scheduled_split_terms ( Nessun parametro )
Definito a:
Codex:

In order to avoid the _wp_batch_split_terms() job being accidentally removed, check that it's still scheduled while we haven't finished splitting terms.



Sorgenti

function _wp_check_for_scheduled_split_terms() {
	if ( ! get_option( 'finished_splitting_shared_terms' ) && ! wp_next_scheduled( 'wp_split_shared_term_batch' ) ) {
		wp_schedule_single_event( time() + MINUTE_IN_SECONDS, 'wp_split_shared_term_batch' );
	}
}