wphooks.info - handle_network_bulk_actions-{$screen}

handle_network_bulk_actions-{$screen}

*** New in v4.8 ***

The hook occurs in the following file:

wp-admin/network/site-themes.php:
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
				 *
				 * The dynamic portion of the hook name, `$screen`, refers to the current screen ID.
				 *
				 * @since 4.7.0
				 *
				 * @param string $redirect_url The redirect URL.
				 * @param string $action       The action being taken.
				 * @param array  $items        The items to take the action on.
				 * @param int    $site_id      The site ID.
				 */
				$referer = apply_filters( "handle_network_bulk_actions-{$screen}", $referer, $action, $themes, $id );
			} else {
				$action = 'error';
				$n = 'none';
			}
	}

	update_option( 'allowedthemes', $allowed_themes );
	restore_current_blog();