wc_logs_render_page action-hookWC 8.6.0

Action fires only if there is not a built-in rendering method for the current default log handler.

This is intended as a way for extensions to render log views for custom handlers.

Usage

add_action( 'wc_logs_render_page', 'wp_kama_wc_logs_render_page_action' );

/**
 * Function for `wc_logs_render_page` action-hook.
 * 
 * @param string $handler 
 *
 * @return void
 */
function wp_kama_wc_logs_render_page_action( $handler ){

	// action...
}
$handler(string)
-

Changelog

Since 8.6.0 Introduced.

Where the hook is called

PageController::render()
wc_logs_render_page
woocommerce/src/Internal/Admin/Logging/PageController.php 179
do_action( 'wc_logs_render_page', $handler );

Where the hook is used in WooCommerce

Usage not found.