wp_delete_all_temp_backups()wp-includes/update.php | Schedules the removal of all contents in the temporary backup directory. |
is_protected_endpoint()wp-includes/load.php | Determines whether we are currently on an endpoint that should be protected against WSODs. |
is_protected_ajax_action()wp-includes/load.php | Determines whether we are currently handling an Ajax action that should be protected against WSODs. |
wp_check_comment_flood()wp-includes/comment.php | Checks whether comment flooding is occurring. |
WP_Comments_List_Table::handle_row_actions()wp-admin/includes/class-wp-comments-list-table.php | Generates and displays row actions links. |
WP_Terms_List_Table::handle_row_actions()wp-admin/includes/class-wp-terms-list-table.php | Generates and displays row action links. |
themes_api()wp-admin/includes/theme.php | Retrieves theme installer pages from the WordPress.org Themes API. |
WP_List_Table::set_pagination_args()wp-admin/includes/class-wp-list-table.php | Sets all the necessary pagination arguments. |
check_upload_size()wp-admin/includes/ms.php | Determines whether uploaded file exceeds space quota. |
wp_dashboard_cached_rss_widget()wp-admin/includes/dashboard.php | Checks to see if all of the feed url in $check_urls are cached. |
WP_Terms_List_Table::column_name()wp-admin/includes/class-wp-terms-list-table.php | |
WP_Comments_List_Table::prepare_items()wp-admin/includes/class-wp-comments-list-table.php | |
WP_Customize_Manager::doing_ajax()wp-includes/class-wp-customize-manager.php | Returns true if it’s an Ajax request. |
_wp_customize_include()wp-includes/theme.php | Includes and instantiates the WP_Customize_Manager class. |
check_ajax_referer()wp-includes/pluggable.php | Verifies the Ajax request to prevent processing requests external of the blog. |
wp_validate_auth_cookie()wp-includes/pluggable.php | Validates authentication cookie. |
wp_debug_mode()wp-includes/load.php | Sets PHP error reporting based on WordPress debug settings. |
wp_send_json()wp-includes/functions.php | Sends a JSON response back to an Ajax request. |
wp_die()wp-includes/functions.php | Kills WordPress execution and displays HTML page with an error message. |
WP_Ajax_Response::send()wp-includes/class-wp-ajax-response.php | Display XML formatted responses. |
wp_user_settings()wp-includes/option.php | Saves and restores user interface settings stored in a cookie. |
wp_allow_comment()wp-includes/comment.php | Validates whether this comment is allowed to be made. |
In a PHP code, if we want to differentiate its output behavior based on how it is being called (like a normal function or like a WP AJAX callback), then we should use the wp_doing_ajax() function like below,