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