wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_check_term_meta_support_prefilter › WordPress Function

Depuis5.0.0
Dépréciéen/a
wp_check_term_meta_support_prefilter ( $check )
Paramètres:
  • (mixed) $check Skip-value for whether to proceed term meta function execution.
    Requis: Oui
Retourne:
  • (mixed) Original value of $check, or false if term meta is not supported.
Défini(e) dans:
Codex:

Aborts calls to term meta if it is not supported.



Source

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

	return $check;
}