Function Arguments Return Description Version Path

add_comment_meta

(int) $comment_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 comment.

2.9 wp-includes / comment.php

add_image_size

(string) $name
(int) $width = 0
(int) $height = 0
(bool|array) $crop = false
(boolean|array) False, if no image was created. Metadata array on success.

Register a new image size.

2.9 wp-includes / media.php

add_metadata

(string) $meta_type
(int) $object_id
(string) $meta_key
(mixed) $meta_value
(bool) $unique = false
(int|boolean) The meta ID on success, false on failure.

Add metadata for the specified object.

2.9 wp-includes / meta.php

add_theme_support

(string) $feature
(void|boolean) False on failure, void otherwise.

Allows a theme to register its support of a certain feature

2.9 wp-includes / theme.php

author_can

(int|object) $post
(string) $capability
(boolean)

Whether author of supplied post has capability or role.

2.9 wp-includes / capabilities.php

create_initial_post_types

(void)

Creates the initial post types when ‘init’ action is fired.

2.9 wp-includes / post.php

current_theme_supports

(string) $feature
(boolean)

Checks a theme’s support for a given feature

2.9 wp-includes / theme.php

delete_comment_meta

(int) $comment_id
(string) $meta_key
(mixed) $meta_value = ''
(boolean) True on success, false on failure.

Remove metadata matching criteria from a comment.

2.9 wp-includes / comment.php

delete_metadata

(string) $meta_type
(int) $object_id
(string) $meta_key
(mixed) $meta_value = ''
(bool) $delete_all = false
(boolean) True on successful delete, false on failure.

Delete metadata for the specified object.

2.9 wp-includes / meta.php

delete_site_transient

(string) $transient
(boolean) True if successful, false otherwise

Delete a site transient.

2.9 wp-includes / option.php