Welcome, visitor! Log in
 

Source View: update_bulk_plugins_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.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: apply_filters( "hook_name", "what_to_filter" ).

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
1182           parent::after($this->plugin_info['Title']);
1183      }
1184      function bulk_footer() {
1185           parent::bulk_footer();
1186           $update_actions =  array(
1187                'plugins_page' => '<a href="' . admin_url('plugins.php') . '" title="' . esc_attr__('Goto plugins page') . '" target="_parent">' . __('Return to Plugins page') . '</a>',
1188                'updates_page' => '<a href="' . admin_url('update-core.php') . '" title="' . esc_attr__('Goto WordPress Updates page') . '" target="_parent">' . __('Return to WordPress Updates') . '</a>'
1189           );
1190
1191           $update_actions = apply_filters('update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info);
1192           if ( ! empty($update_actions) )
1193                $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$update_actions));
1194      }
1195 }
1196
1197 class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin {
1198      var $theme_info = array(); // Theme_Upgrader::bulk() will fill this in.
1199      function Theme_Upgrader_Skin($args = array()) {
1200           parent::__construct($args);