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