Dotance Website Feedback 1.1.1 has 14 actions and 11 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 Dotance Website Feedback fires an action
add_action( 'dotfb_link_created', function( $link ) {
// Your code runs here.
}, 10, 1 );
// Change a value Dotance Website Feedback is about to use
add_filter( 'dotfb_admin_tabs', 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
-
/** * Extra screens under the Feedback menu: slug => { title, callback, capability * (default dotfb_manage) }. */ apply_filters( 'dotfb_admin_tabs', array() ); -
/** * Overlay branding. */ apply_filters( 'dotfb_brand', array( 'name' => __( 'Feedback', 'dotance-website-feedback' ), 'color' => (string) Settings::get()['color'], ) ); -
/** * Visitor IP for the rate limits (hashed, never stored). Behind a proxy or * Cloudflare, return the real client IP from the header your proxy sets — * only if the proxy strips that header from outside requests. */ apply_filters( 'dotfb_client_ip', $ip ); -
/** * Largest screenshot or attachment accepted, in bytes. */ apply_filters( 'dotfb_file_max_bytes', 5 * MB_IN_BYTES ); -
/** * A review link was created. */ do_action( 'dotfb_link_created', $link ); -
/** * A review link was removed for good. */ do_action( 'dotfb_link_deleted', $id ); -
/** * A message was added to a thread. */ do_action( 'dotfb_message_added', $message, $thread ); -
/** * One notification email before it is sent. `body` is the plain-text copy; * `html` the designed version (an empty `html` sends plain text only). */ apply_filters( 'dotfb_notification_email', array( 'to' => $to['email'], 'subject' => $email['subject'], 'body' => self::text( $email ), 'html' => self::html( $email ), 'headers' => $headers, ), $to ); -
/** * A page was approved. */ do_action( 'dotfb_page_approved', $approval ); -
/** * An approval was taken back. */ do_action( 'dotfb_page_unapproved', $approval ); -
/** * Hourly limit for one kind of guest write; 0 turns it off. */ apply_filters( 'dotfb_rate_limit', self::LIMITS[ $action ] ?? 0, $action, $link_id ); -
/** * Settings about to be saved; add-ons keep their own keys here. */ apply_filters( 'dotfb_settings_sanitize', $clean, $input ); -
/** * Sections of the Settings screen: id => { title, fields: { key => [ label, * render callback( $key ) ] } }. Values of added fields arrive in * dotfb_settings_sanitize. */ apply_filters( 'dotfb_settings_sections', $sections ); -
/** * Whether the feedback overlay may load on this request. */ apply_filters( 'dotfb_should_load', $load ); -
/** * A thread was created. */ do_action( 'dotfb_thread_created', $thread, $message ); -
/** * A thread was deleted, with its messages and files. */ do_action( 'dotfb_thread_deleted', $id ); -
/** * Thread fields sent to the overlay and the admin. */ apply_filters( 'dotfb_thread_rest_fields', $data, $thread ); -
/** * A thread's status changed. */ do_action( 'dotfb_thread_status_changed', $updated, $thread->thread_status, $updated->thread_status ); -
/** * A thread's status, priority or assignee changed. */ do_action( 'dotfb_thread_updated', $updated, $fields ); -
do_action( 'litespeed_control_set_nocache', 'dotance-website-feedback file' ); -
do_action( 'breeze_clear_all_cache' ); -
do_action( 'cache_enabler_clear_complete_cache' ); -
apply_filters( 'dotfb_review_ask_threshold', 10 ); -
do_action( 'litespeed_purge_all' ); -
do_action( 'wpfc_clear_all_cache' );
Generated from Dotance Website Feedback'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: