A
A
Andy-shak2015-12-14 13:39:37
WordPress
Andy-shak, 2015-12-14 13:39:37

How to add "role selection" field when signing up in WordPress?

Created extra. roles on the site. How to make additional form or field when registering to select a role in WordPress? Preferably without a plugin.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Дмитрий Королёв, 2015-12-14
@Andy-shak

С помощью хука register_form добавляете новое поле.
С помощью хука user_register его обрабатываете.
Подробно написано в кодексе - https://codex.wordpress.org/Customizing_the_Regist...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question