[ 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.

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.
since: 5.6.0

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

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

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

since: 5.6.0

Generated: Wed May 18 01:00:03 2022 Cross-referenced by PHPXref 0.7.1