WC_Admin_Reports::register_hook_handlers()public staticWC 1.0

Register the proper hook handlers.

Метод класса: WC_Admin_Reports{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$result = WC_Admin_Reports::register_hook_handlers();

Код WC_Admin_Reports::register_hook_handlers() WC 9.7.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' ) );
}