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



pre_user_id › WordPress Filter Hooks

Da1.5.0
Deprecaton/a
› apply_filters( 'pre_user_id', $commentdata['user_ID'] )
Parametri:
  • () user_id The comment author's user ID.
    Richiesto: Sì
Definito a:
Codex:

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

The first time this filter is evaluated, `user_ID` is checked (for back-compat), followed by the standard `user_id` value.




Sorgenti

$commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_ID'] );