WordPress at a glance
filter is not described

whitelist_options filter-hook . WP 2.7.0

Deprecated in from version 5.5.0. It is no longer supported and can be removed in future releases. See allowed_options.

Deprecated: 5.5.0 Use {@see 'allowed_options'} instead.

Filters the allowed options list.


add_filter( 'whitelist_options', 'filter_function_name_238', 10, 4 );
function filter_function_name_238( $allowed_options, $string, $string, $__ ){
	// filter...

	return $allowed_options;
The allowed options list.

Список изменений

С версии 2.7.0 Введена.
Устарела с 5.5.0 Use {@see 'allowed_options'} instead.

Где вызывается хук

В файле: /wp-admin/options.php
wp-admin/options.php 210-216
$allowed_options = apply_filters_deprecated(
	array( $allowed_options ),
	__( 'Please consider writing more inclusive code.' )

Где используется хук в ядре WP

Использование не найдено.