WordPress Developer Ukraine, Kyiv
WordPress User Registration Hooks: Validate Custom Fields, Save Meta, and Send Welcome Email

WordPress User Registration Hooks: Validate Custom Fields, Save Meta, an ...

User registration hooks: validate extra fields, save them, send a welcome email The registration form on wp-login.php?action=register asks only for a username and an email. Three hooks let you extend it: register_form prints extra fields, the registration_errors filter validates them and can stop the registration, and user_register runs after the account was created. With profile_update…
Build a Custom Admin List Table in WordPress with WP_List_Table

Build a Custom Admin List Table in WordPress with WP_List_Table

Build an admin list table with WP_List_Table The lists of posts, pages, users and comments in the admin are all built with the WP_List_Table class: columns, sorting links, bulk actions, row actions, pagination. A plugin that shows its own records (form leads, log entries, imports) can extend the same class and get a screen that…