New and updated in 2.9.0
-
hookuntrash_post
Fires before a post is restored from the Trash.
-
hookuntrashed_post
Fires after a post is restored from the Trash.
-
functionwp_trash_post_comments()
Moves comments for a post to the Trash.
-
Fires before comments are sent to the Trash.
-
Fires after comments are sent to the Trash.
-
functionget_post_mime_types()
Gets default post mime types.
-
functionwp_trash_post()
Moves a post or page to the Trash
-
Filters the relative path to an uploaded file.
-
functionget_post_types()
Gets a list of all registered post type objects.
-
functionregister_post_type()
Registers a post type.
-
functioncreate_initial_post_types()
Creates the initial post types when ‘init’ action is fired.
-
function_wp_relative_upload_path()
Returns relative path to an uploaded file.
-
Serves the XML-RPC request.
-
Filters the user agent sent when pinging-back a URL.
-
functionwp_spam_comment()
Marks a comment as Spam.
-
hookspam_comment
Fires immediately before a comment is marked as Spam.
-
hookspammed_comment
Fires immediately after a comment is marked as Spam.
-
functionwp_unspam_comment()
Removes a comment from the Spam.
-
hookunspam_comment
Fires immediately before a comment is unmarked as Spam.
-
Fires immediately after a comment is unmarked as Spam.
-
hooktrashed_comment
Fires immediately after a comment is sent to Trash.
-
functionwp_untrash_comment()
Removes a comment from the Trash
-
hookuntrash_comment
Fires immediately before a comment is restored from the Trash.
-
Fires immediately after a comment is restored from the Trash.
-
hookdeleted_comment
Fires immediately after a comment is deleted from the database.
-
functionwp_trash_comment()
Moves a comment to the Trash
-
hooktrash_comment
Fires immediately before a comment is sent to the Trash.