Function Arguments Return Description Version Path

add_action

(string) $tag
(callback) $function_to_add
(int) $priority = 10
(int) $accepted_args = 1
(boolean) Will always return true.

Hooks a function on to a specific action.

1.2 wp-includes / plugin.php

add_meta

(unknown_type) $post_ID
(unknown) 1.2 wp-admin / includes / post.php

check_admin_referer

(string) $action = -1
(string) $query_arg = '_wpnonce'
(void)

Makes sure that a user was referred from another admin page.

1.2 wp-includes / pluggable.php

check_comment

(string) $author
(string) $email
(string) $url
(string) $comment
(string) $user_ip
(string) $user_agent
(string) $comment_type
(boolean) Whether the checks passed (true) and the comments should be displayed or set to moderated

Checks whether a comment passes internal checks to be allowed to add.

1.2 wp-includes / comment.php

clean_pre

(array|string) $matches
(string) The pre block without paragraph/line-break conversion.

Accepts matches array from preg_replace_callback in wpautop() or a string.

1.2 wp-includes / deprecated.php

clean_url

(string) $url
(array) $protocols = null
(string) $context = 'display'
(string) The cleaned $url after the 'clean_url' filter is applied.

Checks and cleans a URL.

1.2 wp-includes / deprecated.php

comment_excerpt

(int) $comment_ID = 0
(void)

Display the excerpt of the current comment.

1.2 wp-includes / comment-template.php

delete_meta

(unknown_type) $mid
(unknown) 1.2 wp-admin / includes / post.php

delete_option

(string) $option
(boolean) True, if option is successfully deleted. False on failure.

Removes option by name. Prevents removal of protected WordPress options.

1.2 wp-includes / option.php

do_action

(string) $tag
(mixed) $arg = ''
(null) Will return null if $tag does not exist in $wp_filter array.

Execute functions hooked on a specific action hook.

1.2 wp-includes / plugin.php