[ Index ]

PHP Cross Reference of WordPress




/wp-admin/js/ -> application-passwords.js (summary)

(no description)

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

Defines 3 functions


Functions that are not part of a class:

handleErrorResponse( xhr, textStatus, errorThrown )   X-Ref
Handles an error response from the REST API.

since: 5.6.0
param: {jqXHR} xhr The XHR object from the ajax call.
param: {string} textStatus The string categorizing the ajax request's status.
param: {string} errorThrown The HTTP status error text.

addNotice( message, type )   X-Ref
Displays a message in the Application Passwords section.

since: 5.6.0
returns: {jQuery} The notice element.
param: {string} message The message to display.
param: {string} type    The notice type. Either 'success' or 'error'.

clearNotices()   X-Ref
Clears notice messages from the Application Passwords section.

since: 5.6.0

Generated: Sat Sep 18 01:00:04 2021 Cross-referenced by PHPXref 0.7.1