[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/js/ -> privacy-tools.js (summary)

(no description)

File Size: 418 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  setActionState()
  clearResultsAfterRow()
  appendResultsAfterRow()
  onExportDoneSuccess()
  onExportFailure()
  setExportProgress()
  doNextExport()
  onErasureDoneSuccess()
  onErasureFailure()
  setErasureProgress()
  doNextErasure()

Functions
Functions that are not part of a class:

setActionState( $action, state )   X-Ref
Sets the state of the action.

return: {void}
param: {jQuery} $action The action to set the state for.
param: {string} state   The state to set the action to.

clearResultsAfterRow( $requestRow )   X-Ref
Clears any results row after the request row.

return: {void}
param: {jQuery} $requestRow The request row to clear results for.

appendResultsAfterRow( $requestRow, classes, summaryMessage, additionalMessages )   X-Ref
Appends a results row after the request row.

return: {void}
param: {jQuery}   $requestRow        The request row to append the results after.
param: {string}   classes            The classes to add to the results row.
param: {string}   summaryMessage     The summary message to display in the results row.
param: {string[]} additionalMessages Additional messages to display in the results row.

onExportDoneSuccess( zipUrl )   X-Ref
Handles a successful export.

return: {void}
param: {string} zipUrl The URL of the generated ZIP file, if available.

onExportFailure( errorMessage )   X-Ref
Handles an export failure.

return: {void}
param: {string} errorMessage The error message to display.

setExportProgress( exporterIndex )   X-Ref
Updates the progress of the export process.

return: {void}
param: {number} exporterIndex The index of the exporter to process.

doNextExport( exporterIndex, pageIndex )   X-Ref
Performs the next export request.

return: {void}
param: {number} exporterIndex The index of the exporter to process.
param: {number} pageIndex     The index of the page to process for the current exporter.

onErasureDoneSuccess()   X-Ref
Handles a successful erasure.

return: {void}

onErasureFailure()   X-Ref
Handles an erasure failure.


setErasureProgress( eraserIndex )   X-Ref
Updates the progress of the erasure process.

return: {void}
param: {number} eraserIndex The index of the eraser to process.

doNextErasure( eraserIndex, pageIndex )   X-Ref
Performs the next erasure request.

return: {void}
param: {number} eraserIndex The index of the eraser to process.
param: {number} pageIndex   The index of the page to process for the current eraser.



Generated : Mon Sep 14 08:20:31 2026 Cross-referenced by PHPXref