Postlude 0.1.1 has 3 actions and 16 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 Postlude fires an action
add_action( 'postlude_enabled', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Postlude is about to use
add_filter( 'http_allowed_safe_ports', function( $value, $parts, $configured ) {
// Change $value here.
return $value;
}, 10, 3 );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
-
/** * Filters the ports a safe HTTP request may use. */ apply_filters( 'http_allowed_safe_ports', array( 80, 443, 8080 ), $parts['host'], $configured ); -
/** * Filters the address the data processing agreement is linked at. */ apply_filters( 'postlude_agreement_url', self::AGREEMENT_URL ); -
/** * Filters how long after registration a review's analysis job runs. */ apply_filters( 'postlude_analysis_delay', self::DELAY_SECONDS ); -
/** * Filters the Postlude backend origin. */ apply_filters( 'postlude_api_base_url', self::BASE_URL ); -
/** * Fires once the store is registered and the plugin is switched on. */ do_action( 'postlude_enabled' ); -
/** * Filters how long after one history batch the next runs. */ apply_filters( 'postlude_history_batch_delay', self::DELAY_SECONDS ); -
/** * Filters how many reviews one history batch carries. */ apply_filters( 'postlude_history_batch_size', self::BATCH_SIZE ); -
/** * Filters how old a review's own date may be before it is treated as imported. */ apply_filters( 'postlude_import_max_age', self::MAX_AGE_SECONDS ); -
/** * Filters how many reviews may be inserted inside one window before the rest * are treated as imported. */ apply_filters( 'postlude_import_rate_limit', self::RATE_LIMIT ); -
/** * Filters the window the review insert rate is counted over. */ apply_filters( 'postlude_import_rate_window', self::RATE_WINDOW_SECONDS ); -
/** * Filters whether a token may be issued for this review. */ apply_filters( 'postlude_issue_review_token', true, $comment_id ); -
/** * Filters the classes on the offer block's container. */ apply_filters( 'postlude_offer_classes', self::DEFAULT_CLASSES ); -
/** * Filters the address the submission rate limit is keyed on. */ apply_filters( 'postlude_request_rate_limit_client_ip', $remote ); -
/** * Filters how many requests one address may file inside one window. */ apply_filters( 'postlude_request_rate_limit_ip', self::ADDRESS_LIMIT ); -
/** * Filters how many requests the whole store may take inside one window. */ apply_filters( 'postlude_request_rate_limit_store', self::STORE_LIMIT ); -
/** * Filters the window the submission rate is counted over. */ apply_filters( 'postlude_request_rate_limit_window', self::WINDOW_SECONDS ); -
/** * Filters the address the Terms of Use are linked at. */ apply_filters( 'postlude_terms_url', self::TERMS_URL ); -
do_action( 'woocommerce_email_header', $email_heading, $email );
Generated from Postlude'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: