wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_is_comment_flood › Hooks de Filtros WordPress

Desde5.5.0
Obsoleton/a
› $is_flood = apply_filters(
Parâmetros: (5)
  • () is_flood Is a comment flooding occurring? Default false.
    Required: Yes
  • () comment_author_ip Comment author's IP address.
    Required: Yes
  • () comment_author_email Comment author's email.
    Required: Yes
  • () comment_date_gmt GMT date the comment was posted.
    Required: Yes
  • () wp_error Whether to return a WP_Error object instead of executing wp_die() or die() if a comment flood is occurring.
    Required: Yes
Definido em:
Codex:

Filters whether a comment is part of a comment flood.

The default check is wp_check_comment_flood(). See check_comment_flood_db().




Fonte

$is_flood = apply_filters(