/** * Captures the Bulk Edit, "Upload New Media" parameters * * @since 2.11 * * @param array $request bulk action request parameters, including ['mla_bulk_action_do_cleanup']. * @param string $bulk_action the requested action. * @param array $custom_field_map [ slug => field_name ] * * @return array updated bulk action request parameters */ public static function mla_list_table_bulk_action_initial_request($request, $bulk_action, $custom_field_map) { MLA::mla_debug_add(__LINE__ . " MLA_Polylang::mla_list_table_bulk_action_initial_request( {$bulk_action} ) request = " . var_export($request, true), MLA::MLA_DEBUG_CATEGORY_LANGUAGE); self::$bulk_edit_request = $request; self::$bulk_edit_map = $custom_field_map; return $request; }