Contact Form 7 1.0.3 has 4 actions and 12 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 Contact Form 7 fires an action
add_action( 'upgrader_process_complete', function( $object, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value Contact Form 7 is about to use
add_filter( 'tgmpa_load', 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 after each specific row in the TGMPA Plugins list table. */ do_action( "tgmpa_after_plugin_row_{$item['slug']}", $item['slug'], $item, $this->view_context ); -
/** * By default TGMPA only loads on the WP back-end and not in an Ajax call. * Using this filter you can overrule that behaviour. */ apply_filters( 'tgmpa_load', ( is_admin() && ! defined( 'DOING_AJAX' ) ) ); -
/** * Filter a sanitized key string. */ apply_filters( 'tgmpa_sanitize_key', $key, $raw_key ); -
tgmpa_update_bulk_plugins_complete_actions
filter Used by 146 plugins → Copy link Customise this hook/** * Filter the list of action links available following bulk plugin * installs/updates. */ apply_filters( 'tgmpa_update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info ); -
/** * Fires when the bulk upgrader process is complete. */ do_action( 'upgrader_process_complete', $this, array( 'action' => 'install', 'type' => 'plugin', 'bulk' => true, 'plugins' => $plugins, ) ); -
apply_filters( "tgmpa_{$prefix}plugin_action_links", array_filter( $action_links ), $item['slug'], $item, $this->view_context ); -
do_action_ref_array( 'tgmpa_init', array( $this ) ); -
apply_filters( 'tgmpa_notice_action_links', $action_links ); -
apply_filters( 'tgmpa_notice_rendered_action_links', $action_links ); -
do_action( 'tgmpa_register' ); -
apply_filters( 'tgmpa_show_admin_notice_capability', 'publish_posts' ); -
apply_filters( 'tgmpa_table_columns', $columns ); -
apply_filters( 'tgmpa_table_data_item', $table_data[ $i ], $plugin ); -
apply_filters( 'tgmpa_table_data_items', $this->_gather_plugin_data() ); -
apply_filters( 'wpcf7sp_support_posttypes', get_post_types( array( 'public' => true ) ) );
Generated from Contact Form 7'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: