WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
991 | * Filters the text string of the auto-updates setting for each plugin in the Site Health debug data. |
992 | * |
993 | * @since 5.5.0 |
994 | * |
995 | * @param string $auto_updates_string The string output for the auto-updates column. |
996 | * @param string $plugin_path The path to the plugin file. |
997 | * @param array $plugin An array of plugin data. |
998 | * @param bool $enabled Whether auto-updates are enabled for this item. |
999 | */ |
1000 | $auto_updates_string = apply_filters( 'plugin_auto_update_debug_string', $auto_updates_string, $plugin_path, $plugin, $enabled ); |
1001 |
|
1002 | $plugin_version_string .= ' | ' . $auto_updates_string; |
1003 | $plugin_version_string_debug .= ', ' . $auto_updates_string; |
1004 | } |
1005 |
|
1006 | $info[ $plugin_part ]['fields'][ sanitize_text_field( $plugin['Name'] ) ] = array( |
1007 | 'label' => $plugin['Name'], |
1008 | 'value' => $plugin_version_string, |
1009 | 'debug' => $plugin_version_string_debug, |