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
1227                           *
1228                           * @param string $html        The HTML of the plugin's auto-update column content,
1229                           *                            including toggle auto-update action links and
1230                           *                            time to next update.
1231                           * @param string $plugin_file Path to the plugin file relative to the plugins directory.
1232                           * @param array  $plugin_data An array of plugin data. See `get_plugin_data()`
1233                           *                            and the {@see 'plugin_row_meta'} filter for the list
1234                           *                            of possible values.
1235                           */
1236                          echo apply_filters( 'plugin_auto_update_setting_html', $html, $plugin_file, $plugin_data );
1237
1238                          echo '<div class="notice notice-error notice-alt inline hidden"><p></p></div>';
1239                          echo '</td>';
1240
1241                          break;
1242                     default:
1243                          $classes = "$column_name column-$column_name $class";
1244
1245                          echo "<td class='$classes{$extra_classes}'>";