wp_check_term_meta_support_prefilter( mixed $check ): mixed

Aborts calls to term meta if it is not supported.


Parameters

$check mixed Required
Skip-value for whether to proceed term meta function execution.

Top ↑

Return

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


Top ↑

Source

File: wp-includes/taxonomy.php. View all references

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

	return $check;
}


Top ↑

Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes

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