Archive | Functions by letter w RSS feed for this section

wp_nonce_field

Retrieve or display nonce hidden field for forms.The nonce field is used to validate that the contents of the form came from the location on the current site and not somewhere else. The nonce does not offer absolute protection, but should protect against most cases. It is very important to use nonce field in forms.

3949

Continue reading

wp_nonce_ays

Display “Are You Sure” message to confirm the action being taken.If the action has the nonce explain message, then it will be displayed along with the “Are you sure?” message.

3947

Continue reading

wp_new_comment

Adds a new comment to the database.Filters new comment to ensure that the fields are sanitized and valid before inserting comment into database. Calls ‘comment_post’ action with comment ID and whether comment is approved by WordPress. Also has ‘preprocess_comment’ filter for processing the comment data before the function handles it.

3941

Continue reading