Forms RB icon
Forms

Forms RB hooks reference

  • By rbplugins
  • v2.1.0 New
  • Updated

Forms RB 2.1.0 has 1 actions and 6 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.

functions.phpyour child theme
// Run your own code when Forms RB fires an action
add_action( 'rbforms_submission_stored', function( $new_post_id, $dataToSend, $form_options, $form_id, $jsonData ) {
	// Your code runs here.
}, 10, 5 );

// Change a value Forms RB is about to use
add_filter( 'rbforms_channel_should_send', function( $value, $channel, $array, $form_id, $rec ) {
	// Change $value here.
	return $value;
}, 10, 5 );

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

  • app/notification.php line 125
    /**
     * Whether this submission goes out through this channel. Always, by default;
     * the PRO key checks the channel's conditions.
     */
    apply_filters( 'rbforms_channel_should_send', true, $channel, is_array($rows) ? $rows : array(), $form_id, $rec );
  • app/api.php line 1063
    /**
     * The confirmation the visitor sees for these values: the form's own by
     * default; the PRO key picks a conditional one.
     */
    apply_filters( 'rbforms_confirmation', $form_options['display']['confirmation'], $dataToSend, $form_options, $form_id );
  • app/notification.php line 139
    /**
     * Sends a submission through a PRO channel (Mailchimp, Google Sheets). Null:
     * nothing sends it (no PRO key), and it counts as switched off.
     */
    apply_filters( 'rbforms_send_channel', null, $channel, is_array($rows) ? $rows : array(), $form_id, $rec );
  • app/api.php line 1081
    /**
     * After a submission is stored (its notifications go out with the next cron
     * run).
     */
    do_action( 'rbforms_submission_stored', $new_post_id, $dataToSend, $form_options, $form_id, $jsonData );
  • app/api.php line 1015
    /**
     * The answers about to be stored. The PRO key adds the calculation fields'
     * values: before the checks below, as conditions may depend on them.
     */
    apply_filters( 'rbforms_submission_values', $dataToSend, $form_options, $form_id );
  • app/form/form.php line 272
    /**
     * The widget's config for one form. The PRO key adds what its features need
     * (e.g. saveResume).
     */
    apply_filters( 'rbforms_widget_config', $payload, $form_options, $id );
  • app/api.php line 751
    apply_filters( 'rbforms_client_ip', $ip );

Generated from Forms RB'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.

Plugin 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 this

Not 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: