Archive | Actions RSS feed for this section

wp_set_comment_status

Sets the status of a comment.The ‘wp_set_comment_status’ action is called after the comment is handled and will only be called, if the comment status is either ‘hold’, ‘approve’, or ‘spam’. If the comment status is not in the list, then false is returned and if the status is ‘delete’, then the comment is deleted without calling the action.

4101

Continue reading

wp_set_auth_cookie

Sets the authentication cookies based User ID.The $remember parameter increases the time that the cookie will be kept. The default the cookie is kept without remembering is two days. When $remember is set, the cookies will be kept for 14 days or two weeks.

4099

Continue reading

wp_restore_post_revision

Restores a post to the specified revision.Can restore a past revision using all fields of the post revision, or only selected fields.

4063

Continue reading