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 |
---|---|
1047 | * Filters the text string of the auto-updates setting for each plugin in the Site Health debug data. |
1048 | * |
1049 | * @since 5.5.0 |
1050 | * |
1051 | * @param string $auto_updates_string The string output for the auto-updates column. |
1052 | * @param string $plugin_path The path to the plugin file. |
1053 | * @param array $plugin An array of plugin data. |
1054 | * @param bool $enabled Whether auto-updates are enabled for this item. |
1055 | */ |
1056 | $auto_updates_string = apply_filters( 'plugin_auto_update_debug_string', $auto_updates_string, $plugin_path, $plugin, $enabled ); |
1057 |
|
1058 | $plugin_version_string .= ' | ' . $auto_updates_string; |
1059 | $plugin_version_string_debug .= ', ' . $auto_updates_string; |
1060 | } |
1061 |
|
1062 | $info[ $plugin_part ]['fields'][ sanitize_text_field( $plugin['Name'] ) ] = array( |
1063 | 'label' => $plugin['Name'], |
1064 | 'value' => $plugin_version_string, |
1065 | 'debug' => $plugin_version_string_debug, |