weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot 2.6.3 has 14 actions and 50 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot fires an action
add_action( 'wedocs_load_faq_page', function() {
// Your code runs here.
}, 10, 1 );
// Change a value weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot is about to use
add_filter( 'wedocs_anonymous_vote_ttl', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filters how long an anonymous vote is remembered. */ apply_filters( 'wedocs_anonymous_vote_ttl', MONTH_IN_SECONDS ); -
/** * Filters the resolved client IP address. */ apply_filters( 'wedocs_client_ip', $ip ); -
/** * Filters whether docs home links open in a new tab. */ apply_filters( 'wedocs_docs_home_open_in_new_tab', ! in_array( strtolower( (string) $args['new_tab'] ), [ 'no', 'false', '0', 'off' ], true ) ); -
/** * Filter the FAQ query arguments for a specific group. */ apply_filters( 'wedocs_faq_shortcode_query_args', $faq_query_args, $group, $args ); -
/** * Handle single doc template arguments. */ apply_filters( 'wedocs_get_doc_listing_template_args', array( 'docs' => $arranged, 'more' => sanitize_text_field( $args['more'] ), 'col' => (int) ( $docs_length === 1 ? $docs_length : $args['col'] ), 'enable_search' => wedocs_get_general_settings( 'enable_search', 'on' ), 'show_faq' => wedocs_get_general_settings( 'show_faq', 'off' ), 'current_page' => $current_page, 'total_pages' => $total_pages, 'open_in_new_tab' => (bool) apply_filters( 'wedocs_... ); -
/** * Handle single docs template directory. */ apply_filters( 'wedocs_get_doc_listing_template_dir', 'shortcode.php' ); -
/** * Filter the FAQ shortcode template arguments. */ apply_filters( 'wedocs_get_faq_listing_template_args', [ 'faq_data' => $faq_data, ] ); -
/** * Filter the FAQ shortcode template path. */ apply_filters( 'wedocs_get_faq_listing_template_dir', 'shortcode-faq.php' ); -
/** * Backdoor for calling the menu hook. This hook won't get translated even the * site language is changed */ do_action( 'wedocs_load_faq_page' ); -
/** * Filters the resolved "Need More Help" recipient email. */ apply_filters( 'wedocs_need_help_recipient', $recipient, $widget_id, $post_id ); -
/** * Filters whether weDocs block stylesheets should stay enqueued on this * request. */ apply_filters( 'wedocs_request_can_render_blocks', false ); -
/** * Whether to show the remote upgrade promo. weDocs Pro turns it off while its * licence is active, so paying customers are not asked to buy Premium. */ apply_filters( 'wedocs_show_promotional_notice', true ); -
/** * Filters the upgrade popup content. */ apply_filters( 'wedocs_upgrade_popup_content', $default_content ); -
apply_filters( 'wedocs_translate_text', $prev_post->post_title ); -
apply_filters( 'the_content', $doc->post_content ); -
apply_filters( 'wedocs_single_doc_renderer', wedocs_usable_single_doc_renderer( $renderer ) ); -
apply_filters( 'appsero_is_local', $is_local ); -
do_action( 'dokan_dashboard_content_after' ); -
do_action( 'dokan_dashboard_content_before' ); -
do_action( 'dokan_dashboard_wrap_end' ); -
do_action( 'dokan_dashboard_wrap_start' ); -
apply_filters( 'wedocs_shortcode_page_section_args', $section_args ); -
apply_filters( "{$this->client->slug}_tracker_data", $data ); -
do_action( "{$this->client->slug}_tracker_optin", $this->get_tracking_data() ); -
do_action( "{$this->client->slug}_tracker_optout" ); -
do_action( "{$this->client->slug}_uninstall_reason_submitted", $data ); -
do_action( 'after_appsero_license_section' ); -
apply_filters( 'appsero_custom_deactivation_reasons', [], $this->client ); -
apply_filters( 'appsero_endpoint', 'https://api.appsero.com' ); -
do_action( 'before_appsero_license_section' ); -
apply_filters( 'translate_text', $text ); -
do_action( 'wedocs_after_main_content' ); -
apply_filters( 'wedocs_ai_google_thinking_budget', $is_gemini_25 ? 1024 : 4096, $model ); -
apply_filters( 'wedocs_ai_provider_configs', $provider_configs ); -
do_action( 'wedocs_before_main_content' ); -
apply_filters( 'wedocs_breadcrumbs', [ 'delimiter' => '<li class="delimiter"><i class="wedocs-icon wedocs-icon-angle-right"></i></li>', 'home' => __( 'Home', 'wedocs' ), 'before' => '<li><span class="current">', 'after' => '</span></li>', ] ); -
apply_filters( 'wedocs_breadcrumbs_html', $html, $args ); -
apply_filters( 'wedocs_breadcrumbs_items', '<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a itemprop="item" href="' . esc_attr( $permalink ) . '"> <span itemprop="name">' . esc_html( $breadcrumb_label ) . '</span></a> <meta itemprop="position" content="' . $position . '" /> </li>' ); -
apply_filters( 'wedocs_current_user_can_manage_settings', $can_manage ); -
apply_filters( 'wedocs_dashboard_stats', $data ); -
apply_filters( 'wedocs_doc_breadcrumb_trail', $trail, $post ); -
apply_filters( 'wedocs_elementor_can_render_single_doc', $can_render ); -
apply_filters( 'wedocs_email_feedback_body', $email_body, $doc_id, $document, $_POST ); -
apply_filters( 'wedocs_email_feedback_headers', $message_headers, $doc_id, $document, $_POST ); -
apply_filters( 'wedocs_email_feedback_subject', $subject, $doc_id, $document, $_POST ); -
apply_filters( 'wedocs_email_feedback_to', $email_to, $doc_id, $document ); -
apply_filters( 'wedocs_faq_post_type', $args ); -
apply_filters( 'wedocs_get_template_part', $template, $slug, $name ); -
do_action( 'wedocs_helpful_feedback_voted', $post_id, $vote, $user_id, $user_ip ); -
apply_filters( 'wedocs_migration_management_capabilities', 'manage_options' ); -
apply_filters( 'wedocs_post_type', $args ); -
apply_filters( 'wedocs_publish_cap', 'manage_categories' ); -
apply_filters( 'wedocs_search_modal_active_colors', array( 'active_primary_color' => '#3B82F6', 'active_shade_color' => '#D9EBFF', 'active_font_color' => '#fff', ) ); -
apply_filters( 'wedocs_set_template_path', $wedocs->plugin_path() . '/templates', $template, $args ); -
apply_filters( 'wedocs_settings_data', $settings_data ); -
apply_filters( 'wedocs_settings_data_rest_response', $settings_data_filtered, $settings_data ); -
do_action( 'wedocs_settings_data_updated', $settings_data_filtered ); -
apply_filters( 'wedocs_settings_management_capabilities', $this->capability ); -
apply_filters( 'wedocs_shortcode_page_parent_args', $parent_args ); -
apply_filters( 'wedocs_theme_dir_path', 'wedocs/' ); -
apply_filters( 'widget_title', $instance['title'] );
Generated from weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: