Function Arguments Return Description Version Path

activate_plugin

(string) $plugin
(string) $redirect = ''
(bool) $network_wide = false
(bool) $silent = false
(WP_Error|null) WP_Error on invalid file or null on success.

Attempts activation of plugin in a “sandbox” and redirects on success.

2.5 wp-admin / includes / plugin.php

add_option

(string) $option
(mixed) $value = ''
(mixed) $deprecated = ''
(bool) $autoload = 'yes'
(boolean) False if option was not added and true if option was added.

Add a new option.

1.0 wp-includes / option.php

add_option_update_handler

(string) $option_group
(string) $option_name
(unknown_type) $sanitize_callback = ''
(unknown)

Register a setting and its sanitization callback

2.7 wp-admin / includes / deprecated.php

add_site_option

(string) $option
(mixed) $value
(boolean) False if option was not added and true if option was added.

Add a new site option.

2.8 wp-includes / option.php

bulk_edit_posts

(array) $post_data = null
(array)

Process the post data for the bulk editing of posts.

2.7 wp-admin / includes / post.php

core_update_footer

 $msg = ''
(void) wp-admin / includes / update.php

dismiss_core_update

 $update
(void) wp-admin / includes / update.php

edit_comment

(void)

Update a comment with values provided in $_POST.

2.0 wp-admin / includes / comment.php

edit_link

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

Update or insert a link using values provided in $_POST.

2.0 wp-admin / includes / bookmark.php

edit_post

(array) $post_data = null
(int) Post ID.

Update an existing post with values provided in $_POST.

1.5 wp-admin / includes / post.php