WC_Admin_Reports::register_hook_handlers
Register the proper hook handlers.
Метод класса: WC_Admin_Reports{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = WC_Admin_Reports::register_hook_handlers();
Код WC_Admin_Reports::register_hook_handlers() WC Admin Reports::register hook handlers WC 10.4.3
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' ) );
}