Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: plugin_auto_update_setting_html

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1152                           * Filters the HTML of the auto-updates setting for each plugin in the Plugins list table.
1153                           *
1154                           * @since 5.5.0
1155                           *
1156                           * @param string $html        The HTML of the plugin's auto-update column content, including
1157                           *                            toggle auto-update action links and time to next update.
1158                           * @param string $plugin_file Path to the plugin file relative to the plugins directory.
1159                           * @param array  $plugin_data An array of plugin data.
1160                           */
1161                          echo apply_filters( 'plugin_auto_update_setting_html', $html, $plugin_file, $plugin_data );
1162
1163                          echo '<div class="notice notice-error notice-alt inline hidden"><p></p></div>';
1164                          echo '</td>';
1165
1166                          break;
1167                     default:
1168                          $classes = "$column_name column-$column_name $class";
1169
1170                          echo "<td class='$classes{$extra_classes}'>";