wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



pre_user_id › Filtr WordPress Hooks

Od1.5.0
Przestarzałyn/a
apply_filters( 'pre_user_id', $commentdata['user_ID'] )
Parametry:
  • (int) $user_id The comment author's user ID.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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