|wp-includes/post.php: wp_attachment_is()|| |
Verifies an attachment is of a given type.
|wp-includes/capabilities.php: current_user_can()|| |
Returns whether the current user has the specified capability.
|wp-includes/formatting.php: wp_unslash()|| |
Remove slashes from a string or array of strings.
|wp-includes/formatting.php: wp_strip_all_tags()|| |
Properly strip all HTML tags including script and style
|wp-includes/formatting.php: wp_slash()|| |
Add slashes to a string or array of strings, in a recursive manner.
|wp-includes/formatting.php: sanitize_text_field()|| |
Sanitizes a string from user input or from the database.
|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/media.php: wp_get_attachment_id3_keys()|| |
Returns useful keys to use to lookup data from an attachment’s stored metadata.
|wp-includes/post.php: wp_get_attachment_metadata()|| |
Retrieves attachment metadata for attachment ID.
|wp-includes/post.php: wp_update_attachment_metadata()|| |
Updates metadata for an attachment.
|wp-includes/post.php: wp_update_post()|| |
Update a post with new post data.
|wp-includes/post.php: wp_delete_post()|| |
Trash or delete a post or page.
|wp-includes/post.php: get_post_meta()|| |
Retrieves a post meta field for the given post ID.
|wp-includes/post.php: update_post_meta()|| |
Updates a post meta field based on the given post ID.
|wp-includes/post.php: get_post()|| |
Retrieves post data given a post ID or post object.