wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_comment_user_agent › WordPress Filter Hooks

Da1.5.0
Deprecaton/a
› apply_filters( 'pre_comment_user_agent', ( $commentdata['comment_agent'] ?? '' )
Parametri:
  • () comment_agent The comment author's browser user agent.
    Richiesto: Sì
Definito a:
Codex:

Filters the comment author's browser user agent before it is set.





Sorgenti

$commentdata['comment_agent'] = apply_filters( 'pre_comment_user_agent', ( $commentdata['comment_agent'] ?? '' ) );