Patchstack 2.3.8 has 9 actions and 7 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 Patchstack fires an action
add_action( 'patchstack_send_software_data', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Patchstack is about to use
add_filter( 'patchstack_allow_network_remote_management', function( $value, $current_blog_id, $arg3 ) {
// 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
-
do_action( 'patchstack_send_software_data' ); -
do_action( 'patchstack_post_dynamic_firewall_rules' ); -
do_action( 'patchstack_sync_software_and_rules' ); -
apply_filters( 'patchstack_allow_network_remote_management', false, get_current_blog_id(), 'patchstack_firewall_ap_enabled' ); -
do_action( 'patchstack_post_firewall_rules' ); -
disable_wp_rest_api_error
filterapply_filters( 'disable_wp_rest_api_error', esc_attr__( 'The WP REST API cannot be accessed by unauthorized users.', 'disable-wp-rest-api' ) ); -
apply_filters( 'patchstack_disable_curl_decoding', $enabled ); -
patchstack_get_software_data
filterapply_filters( 'patchstack_get_software_data', $software_list ); -
patchstack_htaccess_dir
filterapply_filters( 'patchstack_htaccess_dir', $root ); -
apply_filters( 'patchstack_recaptcha_v3_threshold', 0.5 ); -
patchstack_send_event_logs
actiondo_action( 'patchstack_send_event_logs' ); -
patchstack_send_hacker_logs
actiondo_action( 'patchstack_send_hacker_logs' ); -
do_action( 'patchstack_send_header_request' ); -
patchstack_send_ping
actiondo_action( 'patchstack_send_ping' ); -
do_action( 'patchstack_update_license_status' ); -
apply_filters( 'patchstack_xmlrpc_allowed_methods', $kept, $methods );
Generated from Patchstack's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: