Live Chat for WordPress 1.1.9 has 18 actions and 15 filters, read directly from its source code on Nov 19, 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 Live Chat for WordPress fires an action
add_action( 'extended_core/loaded', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Live Chat for WordPress is about to use
add_filter( 'extended_core/html/input', function( $html, $a ) {
// Change $html here.
return $html;
}, 10, 2 );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
-
/** * Groundhogg loaded. */ do_action( 'extended_core/loaded' ); -
/** * WP Simple Chat init. */ do_action( 'simple_chat/init' ); -
/** * WP Simple Chat loaded. */ do_action( 'simple_chat/loaded' ); -
{$this->get_filter_prefix()}/db/get_by/{$this->get_object_type()}
filter Copy link Customise this hookapply_filters( "{$this->get_filter_prefix()}/db/get_by/{$this->get_object_type()}", $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $this->table_name WHERE $column = %s LIMIT 1;", $row_id ) ) ); -
{$this->get_filter_prefix()}/db/get_column_by/{$this->get_object_type()}
filter Copy link Customise this hookapply_filters( "{$this->get_filter_prefix()}/db/get_column_by/{$this->get_object_type()}", $wpdb->get_var( $wpdb->prepare( "SELECT $column FROM $this->table_name WHERE $column_where = %s LIMIT 1;", $column_value ) ) ); -
{$this->get_filter_prefix()}/db/get_column/{$this->get_object_type()}
filter Copy link Customise this hookapply_filters( "{$this->get_filter_prefix()}/db/get_column/{$this->get_object_type()}", $wpdb->get_var( $wpdb->prepare( "SELECT $column FROM $this->table_name WHERE $this->primary_key = %s LIMIT 1;", $row_id ) ) ); -
apply_filters( "{$this->get_filter_prefix()}/db/get/{$this->get_object_type()}", $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $this->table_name WHERE $this->primary_key = %s LIMIT 1;", $row_id ) ) ); -
{$this->get_filter_prefix()}/db/post_bulk_delete/{$this->get_object_type()}
action Copy link Customise this hookdo_action( "{$this->get_filter_prefix()}/db/post_bulk_delete/{$this->get_object_type()}", $where ); -
{$this->get_filter_prefix()}/db/post_delete/{$this->get_object_type()}
action Copy link Customise this hookdo_action( "{$this->get_filter_prefix()}/db/post_delete/{$this->get_object_type()}", $row_id ); -
{$this->get_filter_prefix()}/db/post_insert/{$this->get_object_type()}
action Copy link Customise this hookdo_action( "{$this->get_filter_prefix()}/db/post_insert/{$this->get_object_type()}", $wpdb_insert_id, $data ); -
{$this->get_filter_prefix()}/db/post_mass_update/{$this->get_object_type()}
action Copy link Customise this hookdo_action( "{$this->get_filter_prefix()}/db/post_mass_update/{$this->get_object_type()}", $data ); -
{$this->get_filter_prefix()}/db/post_update/{$this->get_object_type()}
action Copy link Customise this hookdo_action( "{$this->get_filter_prefix()}/db/post_update/{$this->get_object_type()}", $where ); -
{$this->get_filter_prefix()}/db/pre_bulk_delete/{$this->get_object_type()}
action Copy link Customise this hookdo_action( "{$this->get_filter_prefix()}/db/pre_bulk_delete/{$this->get_object_type()}", $where ); -
{$this->get_filter_prefix()}/db/pre_delete/{$this->get_object_type()}
action Copy link Customise this hookdo_action( "{$this->get_filter_prefix()}/db/pre_delete/{$this->get_object_type()}", $row_id ); -
{$this->get_filter_prefix()}/db/pre_insert/{$this->get_object_type()}
action Copy link Customise this hookdo_action( "{$this->get_filter_prefix()}/db/pre_insert/{$this->get_object_type()}", $data ); -
{$this->get_filter_prefix()}/db/pre_mass_update/{$this->get_object_type()}
action Copy link Customise this hookdo_action( "{$this->get_filter_prefix()}/db/pre_mass_update/{$this->get_object_type()}", $data ); -
{$this->get_filter_prefix()}/db/pre_mass_update/{$this->get_object_type()}
filter Copy link Customise this hookapply_filters( "{$this->get_filter_prefix()}/db/pre_mass_update/{$this->get_object_type()}", $data, $column_formats ); -
{$this->get_filter_prefix()}/db/pre_update/{$this->get_object_type()}
action Copy link Customise this hookdo_action( "{$this->get_filter_prefix()}/db/pre_update/{$this->get_object_type()}", $where, $data ); -
{$this->get_filter_prefix()}/db/pre_update/{$this->get_object_type()}
filter Copy link Customise this hookapply_filters( "{$this->get_filter_prefix()}/db/pre_update/{$this->get_object_type()}", $data, $where ); -
{$this->get_filter_prefix()}/db/query/{$this->get_object_type()}
filter Copy link Customise this hookapply_filters( "{$this->get_filter_prefix()}/db/query/{$this->get_object_type()}", $results, $query_vars ); -
apply_filters( "/db/pre_insert/{$this->get_object_type()}", $data, $column_formats ); -
do_action( "admin/{$this->get_slug()}/after" ); -
do_action( "admin/{$this->get_slug()}/before" ); -
admin/{$this->get_slug()}/display/{$this->get_current_action()}
action Copy link Customise this hookdo_action( "admin/{$this->get_slug()}/display/{$this->get_current_action()}", $this ); -
apply_filters( 'extended_core/html/input', $html, $a ); -
do_action( 'sim_chat_body_close' ); -
apply_filters( 'simple_chat/chat/chat_atts', $atts ); -
apply_filters( 'simple_chat/chat/greeting', $greeting, $greeting_context ); -
apply_filters( 'simple_chat/chat/show_chat', $enabled ); -
apply_filters( 'simple_chat/chat/show_greeting', true ); -
apply_filters( 'simple_chat/chat/theme_color', get_simchat_option( 'theme_color' ) ); -
apply_filters( 'simple_chat/settings', $settings ); -
do_action( 'wp_body_open' );
Generated from Live Chat for WordPress'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: