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