WPiko Chatbot and WPiko Chatbot Pro provide WordPress filters and actions so developers can change behavior without editing plugin files. Add these snippets to a child theme’s functions.php or a small custom plugin.
Display and Loading
Filter
Use it to
wpiko_chatbot_show_floating ($show)
Show or hide the floating chatbot on the current page
wpiko_chatbot_load_frontend_assets ($load)
Force-load (or prevent) the chatbot’s scripts and styles on a page, for example when you render the chatbot in a custom way
wpiko_chatbot_streaming_enabled ($enabled)
Turn streaming replies off (default on)
wpiko_chatbot_style_presets ($presets)
Add appearance presets to Chatbot Style
wpiko_chatbot_asset_version ($version)
Change the version used for cache-busting assets
wpiko_chatbot_cache_monitored_options ($options)
Add options that clear the cache when they change
wpiko_chatbot_admin_menu_shortcuts ($shortcuts)
Change the shortcuts shown in the WordPress admin sidebar
// Hide the floating chatbot on the "checkout-help" page.
add_filter( 'wpiko_chatbot_show_floating', function ( $show ) {
return is_page( 'checkout-help' ) ? false : $show;
} );
Skip the AI reply for a conversation (used by live takeover)
// Use a different model for conversation translation.
add_filter( 'wpiko_chatbot_ai_feature_config', function ( $config, $feature ) {
if ( 'translation' === $feature ) {
$config['model'] = 'gpt-5.6-luna';
}
return $config;
}, 10, 2 );
Read the real visitor IP behind a proxy or CDN (used by User Limits and order lookup limits). Return a valid IP address: since 2.1.1, chat requests without a valid IP are blocked.
Skip your custom hourly and daily User Limits for certain visitors, such as logged-in customers. Since 2.1.1, the safety limits (10 per minute, 60 per hour, 300 per day per IP) and the site-wide daily limit still apply.