Virtual Solutions Client CRM 1.0.2 has 32 actions and 53 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 Virtual Solutions Client CRM fires an action
add_action( 'vclients_email_form_saved', function( $saved, $p ) {
// Your code runs here.
}, 10, 2 );
// Change a value Virtual Solutions Client CRM is about to use
add_filter( 'vclients_allowed_html', function( $allowed ) {
// Change $allowed here.
return $allowed;
}, 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
-
/** * After the composer saved (Virtual Solutions Client CRM Pro: "save as * template"). */ do_action( 'vclients_email_form_saved', $saved, $p ); -
/** * Virtual Solutions Client CRM was activated (Virtual Solutions Client CRM Pro * restarts its reminder check). */ do_action( 'vclients_activated' ); -
/** * Filter the HTML allowed in Client CRM's screens (add-ons that add markup * through its hooks). */ apply_filters( 'vclients_allowed_html', $allowed ); -
/** * A new appointment was saved, before its timeline entry (Client CRM CRM Pro * creates the following occurrences of a repeating one). Returns the repeat * pattern to show on the timeline, if any. */ apply_filters( 'vclients_appointment_created', $rule, array_merge( $row, array( 'id' => $id ) ) ); -
/** * Delete in an add-on's own way (Virtual Solutions Client CRM Pro: "this and * the following" occurrences). Return the number of rows deleted, or null. */ apply_filters( 'vclients_appointment_delete', null, $appt, $scope ); -
/** * Fields the appointment dialog sends (Virtual Solutions Client CRM Pro adds * its own). Names only: the title and place are read as typed text, the * description as several lines of it, everything else as one line of text. */ apply_filters( 'vclients_appointment_fields', array( 'title', 'type', 'status', 'client_id', 'date', 'start_time', 'end_date', 'end_time', 'all_day', 'location', 'description', 'assigned_to' ) ); -
/** * Values for the appointment dialog (Virtual Solutions Client CRM Pro adds the * repeat pattern and the reminder). */ apply_filters( 'vclients_appointment_js', $values, $appt ); -
/** * More fields in the appointment dialog (Virtual Solutions Client CRM Pro: * repeat and the reminder email to the client). */ do_action( 'vclients_appointment_modal_fields' ); -
/** * Top of the appointment dialog (Virtual Solutions Client CRM Pro: what * changes to a repeating appointment apply to). */ do_action( 'vclients_appointment_modal_top' ); -
/** * Text for a repeat pattern on the timeline (Virtual Solutions Client CRM * Pro). */ apply_filters( 'vclients_appointment_rule_label', '', $m['rule'] ); -
/** * Clean the values an add-on adds (Virtual Solutions Client CRM Pro: the * reminder email and the repeat pattern, as "rule"). */ apply_filters( 'vclients_appointment_sanitize', $row, $data, $existing ); -
/** * Save changes in an add-on's own way (Virtual Solutions Client CRM Pro: * changes to a repeating appointment, or making one repeat). Return true when * saved, a WP_Error, or null to let Client CRM save this one appointment. */ apply_filters( 'vclients_appointment_update', null, $row, $existing, $rule, $scope ); -
/** * An appointment was updated (Virtual Solutions Client CRM Pro: a new reminder * choice means a new reminder). */ do_action( 'vclients_appointment_updated', $id, $row, $existing ); -
/** * The visitor's IP address as recorded in the activity log (sites behind a * proxy or CDN can take it from a trusted header here). */ apply_filters( 'vclients_audit_ip', $ip ); -
/** * Filter the calendar events (add-ons can add their own). */ apply_filters( 'vclients_calendar_events', $events, $from, $to, $args ); -
/** * Switch on a calendar feature. */ apply_filters( 'vclients_calendar_feature', false, $feature ); -
/** * Calendar sync settings (Virtual Solutions Client CRM Pro). */ do_action( 'vclients_calendar_sync_panel' ); -
/** * Fires after a client is created or updated. */ do_action( 'vclients_client_saved', $id, ! $existing, $context ); -
/** * Add cards to the client card sidebar. */ do_action( 'vclients_client_sidebar', $client ); -
/** * Theme for users who have not picked one yet. */ apply_filters( 'vclients_default_theme', 'auto' ); -
/** * What the composer can do with an email besides saving a draft and sending it * now (Virtual Solutions Client CRM Pro adds "schedule"). */ apply_filters( 'vclients_email_actions', array() ); -
/** * Composer sidebar (Virtual Solutions Client CRM Pro: templates, schedule, * tracking). */ do_action( 'vclients_email_composer_side', $cf_values ); -
/** * Prefill a new email (Virtual Solutions Client CRM Pro: start from a * template). */ apply_filters( 'vclients_email_composer_values', $cf_values, $cf_get ); -
/** * Save the email for an add-on's action (Virtual Solutions Client CRM Pro: * "schedule"). The callback returns the email ID, or a WP_Error. */ apply_filters( "vclients_email_do_{$do}", null, $data, $id, $p ); -
/** * Where to go after an add-on's action. */ apply_filters( "vclients_email_done_{$do}", $view( $saved ), $saved ); -
/** * Other email endpoints (Virtual Solutions Client CRM Pro: open, click). */ do_action( "vclients_email_endpoint_{$action}", $token ); -
/** * Switch on an email feature (Virtual Solutions Client CRM Pro does this). */ apply_filters( 'vclients_email_feature', false, $feature ); -
/** * Filter composer data before it is saved (Virtual Solutions Client CRM Pro). */ apply_filters( 'vclients_email_form_data', $data, $p ); -
/** * Filter the composer fields Client CRM reads (add-ons add their own). */ apply_filters( 'vclients_email_form_keys', $keys ); -
/** * Filter the final HTML of an email (Virtual Solutions Client CRM Pro adds * tracking here). */ apply_filters( 'vclients_email_html', $html, $email, $client, $recipient ); -
/** * Filter the address parameters a new email can be prefilled from (Virtual * Solutions Client CRM Pro: ?template=). Names only: an added one is read as * one line of text (see vclients_query_arg()). */ apply_filters( 'vclients_email_prefill_keys', array_keys( $cf_get_types ) ); -
/** * Anything else that stops this email from going out, for actions an add-on * adds (Virtual Solutions Client CRM Pro checks the time of a scheduled * email). */ apply_filters( 'vclients_email_problem', '', $data, $do, $p ); -
/** * Does an add-on need the queue every minute right now? */ apply_filters( 'vclients_email_queue_has_work', $sending ); -
/** * Unix time an add-on needs the queue to run next, or 0. */ apply_filters( 'vclients_email_queue_next', 0 ); -
/** * Start emails that are due (Virtual Solutions Client CRM Pro: scheduled * emails). */ do_action( 'vclients_email_queue_start' ); -
/** * Extra tabs on the Emails page (Virtual Solutions Client CRM Pro: templates). */ do_action( 'vclients_emails_list_before' ); -
/** * Extra screens under Emails (Virtual Solutions Client CRM Pro: templates). */ do_action( "vclients_emails_view_{$view}" ); -
/** * Help topics (add-ons can add their own, developers can change any text). */ apply_filters( 'vclients_help_topics', $topics, $locale ); -
/** * Filter the available industry packs. */ apply_filters( 'vclients_industry_packs', $packs ); -
/** * Fires once Virtual Solutions Client CRM has loaded. Add-ons (like Virtual * Solutions Client CRM Pro) hook in here. */ do_action( 'vclients_loaded' ); -
/** * Stop Client CRM from using its own mail server (e.g. on a staging site). */ apply_filters( 'vclients_mail_blocked', false ); -
/** * Plugins Client CRM treats as handling email on this site. Return an empty * array to make Client CRM ignore them. */ apply_filters( 'vclients_mail_plugins', $found ); -
/** * How Client CRM sends email: 'own' or 'wordpress'. */ apply_filters( 'vclients_mail_route', $route ); -
/** * Adjust Client CRM's own connection before sending (e.g. DKIM). */ do_action( 'vclients_phpmailer_init', $mail ); -
/** * More cards on Settings › Calendar (Virtual Solutions Client CRM Pro: * reminder emails). */ do_action( 'vclients_settings_calendar_cards', $cf_s ); -
/** * Filter the Settings form fields Client CRM reads (add-ons add their own). */ apply_filters( 'vclients_settings_keys', $keys, $tab ); -
/** * Filter what the setup wizard can set up for each industry. */ apply_filters( 'vclients_setup_presets', include VCLIENTS_PATH . 'includes/data/setup-presets.php' ); -
/** * Translation files loaded when Client CRM speaks another language than * WordPress (e.g. Greek on an English site), most important first. Each string * comes from the first file that has it. */ apply_filters( 'vclients_translation_files', $files, $domain, $locale ); -
/** * Address the weekly usage report is sent to. */ apply_filters( 'vclients_usage_endpoint', $url ); -
do_action( 'vclients_appointment_saved', $id, true ); -
do_action( 'vclients_task_saved', $id ); -
apply_filters( 'pre_wp_mail', null, $atts ); -
do_action( 'vclients_activity_added', $id, $client_id, $type ); -
apply_filters( 'vclients_activity_types', array( 'note' => array( 'label' => __( 'Note', 'virtual-solutions-client-crm' ), 'icon' => 'note', 'manual' => true, 'contact' => false ), 'call' => array( 'label' => __( 'Call', 'virtual-solutions-client-crm' ), 'icon' => 'phone', 'manual' => true, 'contact' => true ), 'meeting' => array( 'label' => __( 'Meeting', 'virtual-solutions-client-crm' ), 'icon' => 'users', 'manual' => true, 'contact'... ); -
do_action( 'vclients_appointment_deleted', (int) $id, $scope ); -
apply_filters( 'vclients_appointment_types', $list ); -
do_action( 'vclients_before_client_delete', $id ); -
apply_filters( 'vclients_client_columns_before_save', $columns, $id, $context ); -
do_action( 'vclients_client_deleted', $id ); -
apply_filters( 'vclients_client_fields', self::core_fields() ); -
apply_filters( 'vclients_client_sections', $sections ); -
do_action( 'vclients_client_unsubscribed', $client_id, $email_id ); -
apply_filters( 'vclients_countries', $countries ); -
apply_filters( 'vclients_csv_columns', $columns ); -
do_action( 'vclients_email_finished', (int) $id ); -
apply_filters( 'vclients_email_merge_tag_value', null, $tag, $client ); -
apply_filters( 'vclients_email_merge_tags', $tags ); -
do_action( 'vclients_email_saved', (int) $id, $data ); -
do_action( 'vclients_email_sent', (int) $email['id'], (int) $recipient['id'], (int) $client['id'] ); -
do_action( 'vclients_email_started', (int) $id ); -
apply_filters( 'vclients_is_pro', false ); -
apply_filters( 'vclients_list_cell', $dash, $col, $client ); -
apply_filters( 'vclients_list_columns', $cols ); -
apply_filters( 'vclients_pro_url', 'https://wp.virtualsolutions.gr/virtual-clients-crm/#pricing' ); -
apply_filters( 'vclients_settings_before_save', $new, $tab, $post ); -
do_action( "vclients_settings_tab_{$cf_tab}", $cf_s ); -
apply_filters( 'vclients_settings_tabs', $cf_tabs ); -
apply_filters( 'vclients_sources', $list ); -
apply_filters( 'vclients_statuses', $list ); -
do_action( 'vclients_task_status_changed', (int) $id, $done ); -
apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers', 'attachments' ) ); -
do_action( 'wp_mail_failed', new WP_Error( 'wp_mail_failed', $e->getMessage(), $mail_data ) ); -
do_action( 'wp_mail_succeeded', $mail_data );
Generated from Virtual Solutions Client CRM'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: