woocommerce_logger_handler_options filter-hookWC 8.6.0

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

Usage

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(array)
An associative array of class_name => description.

Changelog

Since 8.6.0 Introduced.

Where the hook is called

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 );

Where the hook is used in WooCommerce

Usage not found.