Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: update_bulk_theme_complete_actions

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
311      function bulk_footer() {
312           parent::bulk_footer();
313           $update_actions =  array(
314                'themes_page' => '<a href="' . self_admin_url('themes.php') . '" title="' . esc_attr__('Go to themes page') . '" target="_parent">' . __('Return to Themes page') . '</a>',
315                'updates_page' => '<a href="' . self_admin_url('update-core.php') . '" title="' . esc_attr__('Go to WordPress Updates page') . '" target="_parent">' . __('Return to WordPress Updates') . '</a>'
316           );
317           if ( ! current_user_can( 'switch_themes' ) && ! current_user_can( 'edit_theme_options' ) )
318                unset( $update_actions['themes_page'] );
319
320           $update_actions = apply_filters('update_bulk_theme_complete_actions', $update_actions, $this->theme_info );
321           if ( ! empty($update_actions) )
322                $this->feedback(implode(' | ', (array)$update_actions));
323      }
324 }
325
326 /**
327  * Plugin Installer Skin for WordPress Plugin Installer.
328  *
329  * @package WordPress