wc_logs_render_page
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
wc_logs_render_page
woocommerce/src/Internal/Admin/Logging/PageController.php 179
do_action( 'wc_logs_render_page', $handler );