|wp-includes/capabilities.php: current_user_can()|| |
Returns whether the current user has the specified capability.
|wp-includes/pluggable.php: check_ajax_referer()|| |
Verifies the Ajax request to prevent processing requests external of the blog.
|wp-includes/functions.php: wp_send_json_error()|| |
Send a JSON response back to an Ajax request, indicating failure.
|wp-includes/functions.php: absint()|| |
Convert a value to non-negative integer.
|wp-includes/functions.php: wp_send_json_success()|| |
Send a JSON response back to an Ajax request, indicating success.
|wp-includes/post.php: wp_update_post()|| |
Update a post with new post data.
|wp-includes/post.php: get_post()|| |
Retrieves post data given a post ID or post object.