wpseek.com
A WordPress-centric search engine for devs and theme authors



comment_form_defaults › WordPress Filter Hooks

Since3.0.0
Deprecatedn/a
apply_filters( 'comment_form_defaults', $defaults )
Parameters:
  • (array) $defaults The default comment form arguments.
    Required: Yes
Defined at:
Codex:

Filters the comment form default arguments.

Use {@see 'comment_form_default_fields'} to filter the comment fields.





Source

$args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );