WP Updates Notifier 2.0.0 has 16 actions and 28 filters, read directly from its source code on Nov 17, 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 WP Updates Notifier fires an action
add_action( 'sc_wpun_disable_cron', function() {
// Your code runs here.
}, 10, 1 );
// Change a value WP Updates Notifier is about to use
add_filter( 'sc_wpun_get_options_filter', function( $option, $arg2 ) {
// Change $option here.
return $option;
}, 10, 2 );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 when the plugin is deactivated, to turn the scheduled check off. */ do_action( 'sc_wpun_disable_cron' ); -
/** * This filter is documented in includes/class-settings.php */ apply_filters( 'sc_wpun_get_options_filter', get_option( self::OPT_FIELD ), self::OPT_FIELD ); -
/** * This filter is documented in includes/class-settings.php */ apply_filters( 'sc_wpun_put_options_filter', $stored, self::OPT_FIELD ); -
/** * Fires when a round of delivery has finished: a dispatch, or an update check * that sent something. */ do_action( 'sc_wpun_after_dispatch', $results, $notification ); -
/** * This filter is documented in modules/email/class-email-channel.php */ apply_filters( 'sc_wpun_email_content', $message ); -
/** * This filter is documented in modules/email/class-email-channel.php */ apply_filters( 'sc_wpun_email_subject', $subject ); -
/** * Fires inside the add and edit form of a channel, after its last section and * before the buttons. */ do_action( 'sc_wpun_after_channel_form', $form_inst, $channel ); -
/** * Fires when an update check has finished, after the state was saved. */ do_action( 'sc_wpun_after_update_check', $notification, $this->last_results ); -
/** * Fires inside the add and edit form of a channel, before its first section. */ do_action( 'sc_wpun_before_channel_form', $form_inst, $channel ); -
/** * Fires when an update check starts, before anything is looked up. */ do_action( 'sc_wpun_before_update_check' ); -
/** * Filters the capability needed to use the plugin's settings page. */ apply_filters( 'sc_wpun_capability', $default ); -
/** * Fires after a channel instance was deleted. */ do_action( 'sc_wpun_channel_deleted', $id, $instance ); -
/** * Filters the settings fields of a channel type. */ apply_filters( 'sc_wpun_channel_fields', $fields, $this->get_type() ); -
/** * Filters the payload of any channel just before it is sent. */ apply_filters( 'sc_wpun_channel_payload', $payload, $notification, $instance ); -
/** * Filters the payload of the channels of one type just before it is sent. */ apply_filters( "sc_wpun_channel_payload_{$this->get_type()}", $payload, $notification, $instance ); -
/** * Fires when a channel is refused because the API version of the site does not * satisfy what it needs. */ do_action( 'sc_wpun_channel_rejected', $type, $reason, $channel ); -
/** * Filters whether a channel instance receives an item, for rules of your own. */ apply_filters( 'sc_wpun_channel_should_receive_item', $receive, $item, $instance ); -
/** * Filters the channel instances defined in code. */ apply_filters( 'sc_wpun_channels', $entries ); -
/** * Filters the JSON text of the `SC_WPUN_CHANNELS` constant, which defines * channel instances in code. */ apply_filters( 'sc_wpun_channels_json', $constant ); -
/** * Filters the configuration sources, in the order they are asked. */ apply_filters( 'sc_wpun_config_sources', $sources ); -
/** * Filters the value of a setting or channel field, the last word before the * database is used. */ apply_filters( 'sc_wpun_config_value', $value, $context, $source ); -
/** * Filters the settings a new install starts with, and the values used for * settings that are missing. */ apply_filters( 'sc_wpun_default_settings', $defaults ); -
/** * Filters the field types the settings screen can draw and settings can be * checked with. */ apply_filters( 'sc_wpun_field_types', $builtin ); -
/** * Filters the names of the cron schedules offered as check frequencies. */ apply_filters( 'sc_wpun_frequencies', array( 'hourly', 'twicedaily', 'daily', 'weekly' ) ); -
/** * Filters the item types, to register types of your own. */ apply_filters( 'sc_wpun_item_types', $builtin ); -
/** * Filters whether configuration is also read from environment variables. */ apply_filters( 'sc_wpun_load_from_env', $load_from_env ); -
/** * Fires when the plugin has loaded and its hooks are registered. */ do_action( 'sc_wpun_loaded' ); -
/** * Filters the plain text of a notification, which channels use as the message. */ apply_filters( 'sc_wpun_message_text', implode( "\n", $lines ), $notification, $hidden ); -
/** * Filters the line that says how many items were left out of a shortened * message. */ apply_filters( 'sc_wpun_more_items_text', $text, $hidden, $notification ); -
/** * Filters the notification built by the update check, before any channel * instance gets its share. */ apply_filters( 'sc_wpun_notification', $notification ); -
/** * Fires when delivering a notification through a channel instance failed. */ do_action( 'sc_wpun_notification_failed', $result, $notification, $instance ); -
/** * Fires when a notification was delivered through a channel instance. */ do_action( 'sc_wpun_notification_sent', $result, $notification, $instance ); -
/** * Filters the plugins that are waiting for an update and will be reported. */ apply_filters( 'sc_wpun_plugins_need_update', $plugins_need_update ); -
/** * Filters a delivery before it happens, to replace it with a result of your * own. */ apply_filters( 'sc_wpun_pre_send', null, $notification, $instance ); -
/** * Fires when the notification channels are first needed, for modules and * add-ons to register theirs. */ do_action( 'sc_wpun_register_channels', $this ); -
/** * Draws a tab of the settings screen. */ do_action( "sc_wpun_settings_tab_{$current}" ); -
/** * Filters the tabs of the settings screen. */ apply_filters( 'sc_wpun_settings_tabs', $defaults ); -
/** * Filters whether an item is reported at all, to every channel instance. */ apply_filters( 'sc_wpun_should_notify_item', true, $item ); -
/** * Filters the themes that are waiting for an update and will be reported. */ apply_filters( 'sc_wpun_themes_need_update', $themes_need_update ); -
/** * Filters the items found by the check, to add, remove or change items. */ apply_filters( 'sc_wpun_update_items', $items ); -
apply_filters( 'sc_wpun_core_needs_update', $needs, $new_core_ver, $current_version ); -
do_action( 'wp_update_plugins' ); -
do_action( 'wp_update_themes' ); -
do_action( 'wp_version_check' );
Generated from WP Updates Notifier'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: