Function Arguments Return Description Version Path

add_link

(int|WP_Error) Value 0 or WP_Error on failure. The link ID on success.

Add a link to using values provided in $_POST.

2.0 wp-admin / includes / bookmark.php

add_posts_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callback) $function = ''
(string|boolean) The resulting page's hook_suffix, or false if the user does not have the capability required.

Add sub menu page to the posts main menu.

wp-admin / includes / plugin.php

add_post_meta

(int) $post_id
(string) $meta_key
(mixed) $meta_value
(bool) $unique = false
(int|boolean) Meta ID on success, false on failure.

Add meta data field to a post.

1.5 wp-includes / post.php

add_post_type_support

(string) $post_type
(string|array) $feature
(void)

Register support of certain features for a post type.

3.0 wp-includes / post.php

add_rewrite_endpoint

(string) $name
(int) $places
(string) $query_var = null
(void)

Add an endpoint, like /trackback/.

2.1 wp-includes / rewrite.php

add_rewrite_tag

(string) $tag
(string) $regex
(string) $query = ''
(void)

Add a new rewrite tag (like %postname%).

2.1 wp-includes / rewrite.php

add_user

(null|WP_Error|int) Null when adding user, WP_Error or User ID integer when no parameters.

Creates a new user from the “Users” form using $_POST information.

2.0 wp-admin / includes / user.php

add_user_meta

(int) $user_id
(string) $meta_key
(mixed) $meta_value
(bool) $unique = false
(int|boolean) Meta ID on success, false on failure.

Add meta data field to a user.

3.0 wp-includes / user.php

adjacent_image_link

(bool) $prev = true
 $size = 'thumbnail'
(bool) $text = false
(void)

Display next or previous image link that has the same post parent.

2.5 wp-includes / media.php

adjacent_posts_rel_link

(string) $title = '%title'
(bool) $in_same_term = false
(array|string) $excluded_terms = ''
(string) $taxonomy = 'category'
(void)

Display relational links for the posts adjacent to the current post.

2.8 wp-includes / link-template.php