NiroRoadmap 1.3.0 has 5 actions and 21 filters, read directly from its source code on Nov 18, 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 NiroRoadmap fires an action
add_action( 'niroroadmap_archive_urls_changed', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value NiroRoadmap is about to use
add_filter( 'niroroadmap_comment_max_length', 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
-
/** * Fires once every stored link points at the new archive URLs, so caches and * SEO plugins can purge. */ do_action( 'niroroadmap_archive_urls_changed', Legacy_Urls::bases() ); -
/** * Fires after a comment was added from the roadmap board. */ do_action( 'niroroadmap_comment_created', $comment, $item ); -
/** * Filters the longest comment accepted from the roadmap board. */ apply_filters( 'niroroadmap_comment_max_length', 2000 ); -
/** * Filters how many comments one IP address may send, and over how many * seconds. Moderators are never limited. */ apply_filters( 'niroroadmap_comment_rate_limit', array( 5, 10 * MINUTE_IN_SECONDS ) ); -
/** * Filters whether comment avatars are shown on the roadmap board. */ apply_filters( 'niroroadmap_comment_show_avatars', (bool) get_option( 'show_avatars' ) ); -
/** * Filters the slugs of the statuses that count as "Completed". */ apply_filters( 'niroroadmap_completed_status_slugs', array( 'completed' ) ); -
/** * Filters a setting value. */ apply_filters( "niroroadmap_setting_{$key}", $value, $key ); -
/** * Fires after a visitor's idea was stored as a pending item. */ do_action( 'niroroadmap_submission_created', $id ); -
/** * Filters who is emailed about a new submission. */ apply_filters( 'niroroadmap_submission_notify_to', $to, $id ); -
/** * Filters how many ideas one IP address may send, and over how many seconds. * People who can edit others' posts are never limited. */ apply_filters( 'niroroadmap_submission_rate_limit', array( 3, HOUR_IN_SECONDS ) ); -
/** * Lets a CAPTCHA (reCAPTCHA, Turnstile, ...) veto a submission. Return a * WP_Error to refuse it. */ apply_filters( 'niroroadmap_submission_verify', true, $request ); -
/** * Filters the anonymous voter fingerprint (a salted hash of IP + user agent). */ apply_filters( 'niroroadmap_vote_fingerprint', $fingerprint, $ip, $user_agent ); -
/** * Filters how many votes one IP address may send, and over how many seconds. */ apply_filters( 'niroroadmap_vote_rate_limit', array( 30, 10 * MINUTE_IN_SECONDS ) ); -
/** * Filters the IP address used to identify a voter. */ apply_filters( 'niroroadmap_voter_ip', $ip ); -
apply_filters( 'niroroadmap_docs_url', 'https://nirosuite.com/niroroadmap' ); -
apply_filters( 'niroroadmap_get_posts', $posts, $_args ); -
do_action( 'niroroadmap_modal_rendered' ); -
apply_filters( 'niroroadmap_show_stage_links', niroroadmap_get_setting( 'stage_links' ) ); -
apply_filters( 'niroroadmap_submission_max_description', 2000 ); -
apply_filters( 'niroroadmap_submission_max_title', 200 ); -
apply_filters( 'niroroadmap_submission_min_time', 2000 ); -
apply_filters( 'niroroadmap_submissions_api_available', true ); -
do_action( 'niroroadmap_suggest_rendered' ); -
apply_filters( 'niroroadmap_support_url', 'https://support.nirosuite.com' ); -
apply_filters( 'niroroadmap-localized_vars', $localized );
Generated from NiroRoadmap'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: