id ) ) { remove_all_actions( 'admin_notices' ); remove_all_actions( 'all_admin_notices' ); remove_all_actions( 'network_admin_notices' ); remove_all_actions( 'user_admin_notices' ); } }, 1000 ); add_filter( 'admin_body_class', function ( $classes ) { $screen = function_exists( 'get_current_screen' ) ? get_current_screen() : null; if ( ! $screen || ! cwp_ai_is_admin_screen( $screen->id ) ) { return $classes; } $theme = get_user_meta( get_current_user_id(), 'cwp_ai_admin_theme', true ); return $classes . ' cwp-ai-screen cwp-ai-theme-' . ( 'light' === $theme ? 'light' : 'dark' ); } ); /** * Prints the Knowledge base screen. * * @param array $qa_pairs Questions and answers. */ function cwp_ai_render_knowledge_tab( $qa_pairs ) { ?>
Everything your assistant answers from, word for word. Add more
Add many questions and answers at once from a spreadsheet.
For anything a visitor asks in their own words - hours, policies, how something works.