WC_Admin_Reports::register_hook_handlers()public staticWC 1.0

Register the proper hook handlers.

Method of the class: WC_Admin_Reports{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Admin_Reports::register_hook_handlers();

WC_Admin_Reports::register_hook_handlers() code WC 9.5.1

public static function register_hook_handlers() {
	add_filter( 'woocommerce_after_dashboard_status_widget_parameter', array( __CLASS__, 'get_report_instance' ) );
	add_filter( 'woocommerce_dashboard_status_widget_reports', array( __CLASS__, 'replace_dashboard_status_widget_reports' ) );
}