*/ public function get_concerned_filters() { return array( 'print_styles_array', 'style_loader_src', 'style_loader_tag', ); } } /** * @param array $collectors * @param QueryMonitor $qm * @return array */ function register_qm_collector_assets_styles( array $collectors, QueryMonitor $qm ) { $collectors['assets_styles'] = new QM_Collector_Assets_Styles(); return $collectors; } add_filter( 'qm/collectors', 'register_qm_collector_assets_styles', 10, 2 );