woocommerce_logger_handler_options хук-фильтрWC 8.6.0

Filter the list of logging handlers that can be set as the default handler.

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

add_filter( 'woocommerce_logger_handler_options', 'wp_kama_woocommerce_logger_handler_options_filter' );

/**
 * Function for `woocommerce_logger_handler_options` filter-hook.
 * 
 * @param array $handler_options An associative array of class_name => description.
 *
 * @return array
 */
function wp_kama_woocommerce_logger_handler_options_filter( $handler_options ){

	// filter...
	return $handler_options;
}
$handler_options(массив)
An associative array of class_name => description.

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

С версии 8.6.0 Введена.

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

Settings::get_default_handler_setting_definition()
woocommerce_logger_handler_options
woocommerce/src/Internal/Admin/Logging/Settings.php 164
$handler_options = apply_filters( 'woocommerce_logger_handler_options', $handler_options );

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

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