wp_check_term_meta_support_prefilter() WP 5.0.0
Aborts calls to term meta if it is not supported.
No Hooks.
Return
Mixed. Original value of $check, or false if term meta is not supported.
Usage
wp_check_term_meta_support_prefilter( $check );
- $check(mixed) (required)
- Skip-value for whether to proceed term meta function execution.
Changelog
Since 5.0.0 | Introduced. |
Code of wp_check_term_meta_support_prefilter() wp check term meta support prefilter WP 5.6
function wp_check_term_meta_support_prefilter( $check ) {
if ( get_option( 'db_version' ) < 34370 ) {
return false;
}
return $check;
}