WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
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.
Line | Code |
---|---|
1346 | function bulk_footer() { |
1347 | parent::bulk_footer(); |
1348 | $update_actions = array( |
1349 | 'plugins_page' => '<a href="' . self_admin_url('plugins.php') . '" title="' . esc_attr__('Go to plugins page') . '" target="_parent">' . __('Return to Plugins page') . '</a>', |
1350 | '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>' |
1351 | ); |
1352 | if ( ! current_user_can( 'activate_plugins' ) ) |
1353 | unset( $update_actions['plugins_page'] ); |
1354 |
|
1355 | $update_actions = apply_filters('update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info); |
1356 | if ( ! empty($update_actions) ) |
1357 | $this->feedback(implode(' | ', (array)$update_actions)); |
1358 | } |
1359 | } |
1360 |
|
1361 | class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { |
1362 | var $theme_info = array(); // Theme_Upgrader::bulk() will fill this in. |
1363 |
|
1364 | function __construct($args = array()) { |