хук-фильтр
Устаревший since 2.8.0
default_contextual_help
Устаревшее.
Помечено устаревшим с версии 3.3.0.
Проверено на WordPress 6.9, обновлено Источник: WordPress Developer Resources.
Сигнатура
apply_filters_deprecated( 'default_contextual_help', string $old_help_default )
Описание
Фильтрует устаревший текст контекстной справки по умолчанию.
Фильтруемое значение
Текст контекстной справки по умолчанию.
Параметры
$old_help_default
string
обязательный
Текст контекстной справки по умолчанию.
Исходный код
wp-admin/includes/class-wp-screen.php:840
$default_help = apply_filters_deprecated(
'default_contextual_help',
array( '' ),
'3.3.0',
'get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab()'
);
История изменений
| Версия | Описание |
|---|---|
| 3.3.0 | Deprecated. Use get_current_screen()->add_help_tab() or get_current_screen()->remove_help_tab() instead. |
| 2.8.0 | Introduced. |

