Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_check_term_meta_support_prefilter ›

Da5.0.0
Deprecaton/a
wp_check_term_meta_support_prefilter ( $check )
Parametri:
  • (mixed) $check Skip-value for whether to proceed term meta function execution.
    Richiesto:
Ritorna:
  • (mixed) Original value of $check, or false if term meta is not supported.
Definito a:
Codex:

Aborts calls to term meta if it is not supported.



Sorgenti

function wp_check_term_meta_support_prefilter( $check ) {
	if ( get_option( 'db_version' ) < 34370 ) {
		return false;
	}

	return $check;
}