handle_bulk_actions-{$screen}, $location, $doaction, $post_ids

handle_bulk_actions-{$screen}, $location, $doaction, $post_ids

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('handle_bulk_actions-{$screen}, $location, $doaction, $post_ids') is found 1 times:

  • /wp-admin/upload.php line 346
    		default:
    			$screen = get_current_screen()->id;
    
    			/** This action is documented in wp-admin/edit.php */
    			$location = apply_filters( "handle_bulk_actions-{$screen}", $location, $doaction, $post_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    	}
    
    	wp_redirect( $location );
    	exit;
    } elseif ( ! empty( $_GET['_wp_http_referer'] ) ) {
    	wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) );