wp_check_term_meta_support_prefilter( mixed $check )

Aborts calls to term meta if it is not supported.


Parameters Parameters

$check

(mixed) (Required) Skip-value for whether to proceed term meta function execution.


Top ↑

Return Return

(mixed) Original value of $check, or false if term meta is not supported.


Top ↑

Source Source

File: wp-includes/taxonomy.php

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

	return $check;
}


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.