NiroHelp 1.7.0 has 23 actions and 35 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 NiroHelp fires an action
add_action( 'nirohelp-tickets-sentiment_changed', function( $ticket_id, $label, $previous, $arg4 ) {
// Your code runs here.
}, 10, 4 );
// Change a value NiroHelp is about to use
add_filter( 'nirohelp_can_classify_tickets', 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
-
/** * Whether client text may be sent to the classifier. */ apply_filters( 'nirohelp_can_classify_tickets', true ); -
/** * This filter is documented in app/Controllers/Common/Webhooks.php */ apply_filters( 'nirohelp_webhooks_spawn_cron', true ); -
/** * This action is documented in app/Helpers/functions.php */ do_action( 'nirohelp-tickets-sentiment_changed', $ticket_id, $label, $previous, 'ai' ); -
/** * Fires once an imported ticket has been fully written. */ do_action( 'nirohelp-tickets-ticket_imported', new Ticket( (int) $ticket_id ), $source ); -
/** * Filters who a new ticket may be assigned to. */ apply_filters( 'nirohelp_agent_pool', $agents, $args ); -
/** * Fires when the AI service reports a sync as done. */ do_action( 'nirohelp_ai_sync_finished', $status ); -
/** * Whether a remote site may be a plain http:// address. */ apply_filters( 'nirohelp_allow_insecure_remote_urls', false ); -
/** * Filter the per-file attachment size cap. */ apply_filters( 'nirohelp_attachment_max_bytes', 10 * MB_IN_BYTES ); -
/** * Filter the attachment allowlist. */ apply_filters( 'nirohelp_attachment_types', $types ); -
/** * Filters whether NiroHelp may create accounts for visitors. */ apply_filters( 'nirohelp_can_register_users', $allowed ); -
/** * Filters the commerce providers. */ apply_filters( 'nirohelp_commerce_providers', [] ); -
/** * Filters the seed the encryption key and IV are derived from. */ apply_filters( 'nirohelp_encryption_seed', $seed ); -
/** * Filters the events the plugin can emit. */ apply_filters( 'nirohelp_events', $events ); -
/** * Filters the integrations offered on NiroHelp → Integrations. */ apply_filters( 'nirohelp_integrations', [ new Webhooks(), new Slack(), new Inboxes(), new Contact_Form_7(), new WPForms(), new Fluent_Forms() ] ); -
/** * Filters the client that reads an inbox. */ apply_filters( 'nirohelp_mailbox_client', null, $config, $row ); -
/** * Whether agents are shown to each other on tickets. */ apply_filters( 'nirohelp_presence_enabled', true ); -
/** * Filters whether NiroHelp Pro is active. */ apply_filters( 'nirohelp_pro_active', false ); -
/** * Filters whether the BFCM promotion is running. */ apply_filters( 'nirohelp_promo_active', $active ); -
/** * Filters the settings paths that are never sent to the browser. */ apply_filters( 'nirohelp_settings_secret_paths', $paths ); -
/** * Filters what each ticket status does to the SLA clock. */ apply_filters( 'nirohelp_sla_clock_states', $states ); -
/** * Filters how many Slack notifications a minute are posted before the rest are * collapsed into a digest. */ apply_filters( 'nirohelp_slack_burst_limit', self::BURST_LIMIT ); -
/** * Filters the Slack client, so tests and add-ons can stand in for it. */ apply_filters( 'nirohelp_slack_client', new Slack_Client( null === $token ? (string) ( $this->settings()['bot_token'] ?? '' ) : $token ) ); -
/** * Filters the seconds between two Slack posts to one channel. */ apply_filters( 'nirohelp_slack_pace', self::PACE ); -
/** * Filters one page of the listing the AI service pulls. */ apply_filters( 'nirohelp_sources_page', $result, (int) $per_page, max( 1, (int) $page ) ); -
/** * Filters how many deliveries in a row may fail before an endpoint is switched * off. */ apply_filters( 'nirohelp_webhook_failure_threshold', self::FAILURE_THRESHOLD, $webhook ); -
/** * Filters whether webhooks may use plain HTTP. Defaults to `WP_DEBUG`. */ apply_filters( 'nirohelp_webhooks_allow_http', defined( 'WP_DEBUG' ) && WP_DEBUG ); -
/** * Filters whether imported history is delivered to webhooks. */ apply_filters( 'nirohelp_webhooks_deliver_imported', false, $payload ); -
/** * Fires once the auto responder has posted an answer (#340). */ do_action( 'nirohelp-tickets-ai_answered', $ticket, (int) $comment_id, self::score_of( $body ) ); -
/** * Fires when the auto responder leaves a ticket for a person (#340). */ do_action( 'nirohelp-tickets-ai_escalated', $ticket, [ 'reason' => $reason, 'message' => (string) ( $detail['message'] ?? '' ), 'relevance' => isset( $detail['relevance'] ) ? (float) $detail['relevance'] : null, 'threshold' => null !== $threshold ? (float) $threshold : ( isset( $settings['threshold'] ) ? (float) $settings['threshold'] : null ), ] ); -
/** * This filter is documented in wp-includes/pluggable.php */ apply_filters( 'wp_mail_from', 'wordpress@' . preg_replace( '/^www\./i', '', $host ) ); -
do_action( 'nirohelp-tickets-ticket_created', $ticket ); -
do_action( 'nirohelp-tickets-magic_link_sent', $email, $link ); -
do_action( 'nirohelp_user_inserted', $user_id ); -
do_action( 'nirohelp-tickets-code_generated', $email, $new_code ); -
apply_filters( 'nirohelp_ai_sync_max_ids', 1000 ); -
apply_filters( 'nirohelp_ai_sync_poll_interval', 3 ); -
apply_filters( 'nirohelp_ai_sync_poll_max', 240 ); -
apply_filters( 'nirohelp_auto_status_transition_on_comment', true, $ticket, $is_client, $comment_id ); -
apply_filters( 'nirohelp_docs_api_max_per_page', 100 ); -
do_action( 'nirohelp_event', $name, $payload ); -
do_action( "nirohelp_event_{$name}", $payload ); -
apply_filters( 'nirohelp_get_posts', $posts, $_args ); -
apply_filters( 'nirohelp_product_post_types', [] ); -
do_action( 'nirohelp_tickets_comment_added', $comment_id, $this->id ); -
do_action( 'nirohelp-after_doc_content', $doc ); -
do_action( 'nirohelp-before_doc_content', $doc ); -
do_action( 'nirohelp-doc_created', $doc ); -
do_action( 'nirohelp-logged_in', $user_id ); -
do_action( 'nirohelp-tickets-agent_changed', $agent_id, $previous, $this ); -
do_action( 'nirohelp-tickets-agent_commented', $ticket, $comment_id ); -
do_action( 'nirohelp-tickets-client_commented', $ticket, $comment_id ); -
do_action( "nirohelp-tickets-ticket_status_{$new_status}_to_{$old_status}", $ticket ); -
do_action( 'nirohelp-tickets-ticket_status_changed', $new_status, $old_status, $ticket ); -
do_action( 'nirohelp-tickets-user_found', $data ); -
apply_filters( 'the_content', $content ); -
woocommerce_shortcode_order_tracking_order_id
filter Used by 42 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shortcode_order_tracking_order_id', $number ); -
do_action( 'wp_login', $user->user_login, $user );
Generated from NiroHelp'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: