[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 219 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
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. param: {string} message The message to display. param: {string} type The notice type. Either 'success' or 'error'. since: 5.6.0 returns: {jQuery} The notice element. |
clearNotices() X-Ref |
Clears notice messages from the Application Passwords section. since: 5.6.0 |
Generated: Wed Dec 25 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |