New and updated in 2.0.0
-
Fires as a specific plugin is being deactivated.
-
hookget_users_drafts
Filters the user’s drafts query string.
-
functionwp_delete_user()
Delete user and optionally reassign posts and links to another user.
-
hookdelete_user
Fires immediately before a user is deleted from the site.
-
functionadd_user()
Creates a new user from the “Users” form using $_POST information.
-
functionedit_user()
Edit user settings based on contents of $_POST
-
functionget_users_drafts()
Retrieve the user’s drafts.
-
functionwp_import_upload_form()
Outputs the form used by the importers to accept the data to be imported.
-
functionwrite_post()
Calls wp_write_post() and handles the errors.
-
functionget_default_post_to_edit()
Returns default post information to use when populating the “Write Post” form.
-
functionpost_exists()
Determines if a post exists based on title, content, date and type.
-
functionwp_insert_link()
Inserts a link into the database, or updates an existing link.
-
hookedit_link
Fires after a link was updated in the database.
-
hookadd_link
Fires after a link was added to the database.
-
functionwp_update_link()
Updates a link in the database.
-
functionget_link_to_edit()
Retrieves link data based on its ID.
-
functionadd_link()
Adds a link using values provided in $_POST.
-
functionedit_link()
Updates or inserts a link using values provided in $_POST.
-
functionget_default_link_to_edit()
Retrieves the default link for editing.
-
functionwp_delete_link()
Deletes a specified link from the database.
-
hookdelete_link
Fires before a link is deleted.
-
functionwp_handle_upload()
Wrapper for _wp_handle_upload().
-
functionedit_comment()
Updates a comment with values provided in $_POST.
-
functionget_comment_to_edit()
Returns a WP_Comment object based on comment ID.
-
hookcomment_edit_pre
Filters the comment content before editing.
-
functionregister_importer()
Registers importer for WordPress.
-
functionwp_import_cleanup()
Cleanup importer.
-
functionwp_import_handle_upload()
Handles importer uploading and adds attachment.
-
functioncomment_exists()
Determines if a comment exists based on author and date.
-
functionget_importers()
Retrieves the list of importers.