WP-ServerInfo 3.0.0 has 0 actions and 4 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.
// Change a value WP-ServerInfo is about to use
add_filter( 'wp_serverinfo_capability', function( $multisite, $context ) {
// Change $multisite here.
return $multisite;
}, 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
-
wp_serverinfo_capability
filter/** * Filters the capability a WP-ServerInfo surface requires. */ apply_filters( 'wp_serverinfo_capability', is_multisite() ? self::NETWORK_CAPABILITY : self::CAPABILITY, $context ); -
/** * Filters the memcached server WP-ServerInfo reports on. */ apply_filters( 'wp_serverinfo_memcached_server', array( 'host' => 'localhost', 'port' => 11211, ) ); -
wp_serverinfo_redis_server
filter/** * Filters the Redis server WP-ServerInfo reports on. */ apply_filters( 'wp_serverinfo_redis_server', array( 'host' => '127.0.0.1', 'port' => 6379, 'timeout' => 1, ) ); -
/** * Filters the directives whose values the PHP tab refuses to print. */ apply_filters( 'wp_serverinfo_secret_directives', $names );
Generated from WP-ServerInfo'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: