Archive | Functions RSS feed for this section

wp_insert_term

Adds a new term to the database. Optionally marks it as an alias of an existing term.Error handling is assigned for the nonexistence of the $taxonomy and $term parameters before inserting. If both the term id and taxonomy exist previously, then an array will be returned that contains the term id and the contents of what is returned. The keys of the array are ‘term_id’ and ‘term_taxonomy_id’ containing numeric values.

3795

Continue reading

wp_insert_comment

Inserts a comment to the database.The available comment data key names are ‘comment_author_IP’, ‘comment_date’, ‘comment_date_gmt’, ‘comment_parent’, ‘comment_approved’, and ‘user_id’.

3789

Continue reading