Client Octopus 1.4.6 has 16 actions and 1 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 Client Octopus fires an action
add_action( 'clientoctopus_client_created_from_lead', function( $client_id, $id, $owner_id ) {
// Your code runs here.
}, 10, 3 );
// Change a value Client Octopus is about to use
add_filter( 'clientoctopus_client_ip', function( $ip ) {
// Change $ip here.
return $ip;
}, 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
-
/** * Fires after a lead is converted into a client record. */ do_action( 'clientoctopus_client_created_from_lead', $client_id, $id, $owner_id ); -
/** * Filters the resolved client IP for rate-limiting purposes. */ apply_filters( 'clientoctopus_client_ip', $ip ); -
/** * Fires after a lead is successfully captured — owner notification, optional * submitter auto-reply, and webhook dispatch all hook this. */ do_action( 'clientoctopus_lead_captured', $lead_id, $owner_id ); -
/** * Fires after a lead's status changes (new/contacted/converted/archived). Used * by analytics to invalidate its lead-funnel cache. */ do_action( 'clientoctopus_lead_status_changed', $id, $owner_id, $status ); -
do_action( 'litespeed_purge_url', rest_url( 'clientoctopus/v1/proposals' ) ); -
do_action( 'clientoctopus_invoice_paid', $id, $owner_id ); -
do_action( 'clientoctopus_template_head' ); -
do_action( 'clientoctopus_approval_responded', (int) $row['requested_by'], $id, $status ); -
do_action( 'clientoctopus_fs_loaded' ); -
do_action( 'clientoctopus_invoice_cancelled', $id, $owner_id ); -
do_action( 'clientoctopus_invoice_overdue', (int) $row['id'], (int) $row['owner_id'] ); -
do_action( 'clientoctopus_invoice_sent', $id, $owner_id ); -
do_action( 'clientoctopus_proposal_accepted', $proposal['id'], $owner_id ); -
do_action( 'clientoctopus_proposal_declined', (int) $proposal['id'], (int) $proposal['owner_id'] ); -
do_action( 'clientoctopus_proposal_sent', $id, $owner_id ); -
do_action( 'clientoctopus_revision_requested', (int) $proposal['id'], (int) $proposal['owner_id'] ); -
do_action( 'litespeed_control_set_nocache', 'clientoctopus-rest-api' );
Generated from Client Octopus'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: