[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

(no description)

File Size: 444 lines (14 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.

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

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

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

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

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.
return: {void}

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

param: {string} [zipUrl] Optional. The URL of the generated ZIP file. Undefined when
return: {void}

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

param: {string} [errorMessage] Optional. The error message to display. The results
return: {void}

setExportProgress( exporterIndex )   X-Ref
Updates the export progress indicator based on the number of completed exporters.

param: {number} exporterIndex The number of exporters that have finished. Should be
return: {void}

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

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

onErasureDoneSuccess()   X-Ref
Handles a successful erasure.

return: {void}

onErasureFailure()   X-Ref
Handles an erasure failure.

return: {void}

setErasureProgress( eraserIndex )   X-Ref
Updates the erasure progress indicator based on the number of completed erasers.

param: {number} eraserIndex The number of erasers that have finished. Should be
return: {void}

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

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



Generated : Thu Oct 15 08:20:32 2026 Cross-referenced by PHPXref