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
319      function bulk_footer() {
320           parent::bulk_footer();
321           $update_actions =  array(
322                'themes_page' => '<a href="' . self_admin_url('themes.php') . '" title="' . esc_attr__('Go to themes page') . '" target="_parent">' . __('Return to Themes page') . '</a>',
323                '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>'
324           );
325           if ( ! current_user_can( 'switch_themes' ) && ! current_user_can( 'edit_theme_options' ) )
326                unset( $update_actions['themes_page'] );
327
328           $update_actions = apply_filters('update_bulk_theme_complete_actions', $update_actions, $this->theme_info );
329           if ( ! empty($update_actions) )
330                $this->feedback(implode(' | ', (array)$update_actions));
331      }
332 }
333
334 /**
335  * Plugin Installer Skin for WordPress Plugin Installer.
336  *
337  * @package WordPress