wp_check_term_meta_support_prefilter()
Aborts calls to term meta if it is not supported.
Хуков нет.
Возвращает
Разное. Original value of $check, or false if term meta is not supported.
Использование
wp_check_term_meta_support_prefilter( $check );
- $check(разное) (обязательный)
- Skip-value for whether to proceed term meta function execution.
Список изменений
| С версии 5.0.0 | Введена. |
Код wp_check_term_meta_support_prefilter() wp check term meta support prefilter WP 6.9.1
function wp_check_term_meta_support_prefilter( $check ) {
if ( get_option( 'db_version' ) < 34370 ) {
return false;
}
return $check;
}