Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
wp_blacklist_check

Description

Runs to check whether a comment should be blacklisted. Action function arguments: author name, author email, author URL, comment text, author IP address, author's user agent (browser). Your function can execute a wp_die to reject the comment, or perhaps modify one of the input arguments so that it will contain one of the blacklist keywords set in the WordPress options.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for wp_blacklist_check

This database has information for all major versions from WP 1.2.1 through 6.2.

Version File Line Type
1.5.2 wp-includes/functions-post.php 403 View in context action
2.0 wp-includes/functions-post.php 642 View in context action
2.0.11 wp-includes/functions-post.php 654 View in context action
2.1 wp-includes/comment.php 228 View in context action
2.2 wp-includes/comment.php 229 View in context action
2.3 wp-includes/comment.php 234 View in context action
2.5 wp-includes/comment.php 410 View in context action
2.6 wp-includes/comment.php 430 View in context action
2.7 wp-includes/comment.php 620 View in context action
2.8 wp-includes/comment.php 624 View in context action
2.9 wp-includes/comment.php 710 View in context action
3.0 wp-includes/comment.php 768 View in context action
3.1 wp-includes/comment.php 826 View in context action
3.2 wp-includes/comment.php 838 View in context action
3.3 wp-includes/comment.php 838 View in context action
3.4 wp-includes/comment.php 856 View in context action
3.5 wp-includes/comment.php 888 View in context action
3.6 wp-includes/comment.php 890 View in context action
3.7 wp-includes/comment.php 905 View in context action
3.8 wp-includes/comment.php 1036 View in context action
3.9 wp-includes/comment.php 1029 View in context action
4.0 wp-includes/comment.php 1124 View in context action
4.1 wp-includes/comment.php 1410 View in context action
4.2 wp-includes/comment.php 1608 View in context action
4.3 wp-includes/comment.php 1663 View in context action
4.4 wp-includes/comment.php 979 View in context action
4.5 wp-includes/comment.php 1055 View in context action
4.6 wp-includes/comment.php 1053 View in context action
4.7 wp-includes/comment.php 1182 View in context action
4.8 wp-includes/comment.php 1176 View in context action
4.9 wp-includes/comment.php 1190 View in context action
5.0 wp-includes/comment.php 1192 View in context action
5.1 wp-includes/comment.php 1235 View in context action
5.2 wp-includes/comment.php 1258 View in context action
5.3 wp-includes/comment.php 1271 View in context action
5.4 wp-includes/comment.php 1271 View in context action

Important warning!

This hook does not occur in the most recent version of WordPress (6.2). Do not use it. It is deprecated. You should look at the list of "related hooks" below to see if you can figure out what replaced it.

Related Hooks

We find related hooks using word stems. wp_blacklist_check has 2 significant word stem(s): blacklist, check. Note that some of the hooks below may not appear in all versions of WP.