Archive | Functions by letter w RSS feed for this section

wp_set_password

Updates the user’s password with a new encrypted one.For integration with other applications, this function can be overwritten to instead use the other package password checking algorithm.

4109

Continue reading

wp_set_object_terms

Create Term and Taxonomy Relationships.Relates an object (post, link etc) to a term and taxonomy type. Creates the term and taxonomy relationship if it doesn’t already exist. Creates a term if it doesn’t exist (using the slug).

4107

Continue reading

wp_set_current_user

Changes the current user by ID or name.Set $id to null and specify a name if you do not know a user’s ID.

4103

Continue reading

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