Skip to content

Instantly share code, notes, and snippets.

@hivepress
Created May 8, 2022 12:09
Show Gist options
  • Save hivepress/e64569152c4d4d0df5a7d66cef2169af to your computer and use it in GitHub Desktop.
Save hivepress/e64569152c4d4d0df5a7d66cef2169af to your computer and use it in GitHub Desktop.
Add description to the user registration form #hivepress #users
<?php
add_filter(
'hivepress/v1/forms/user_register',
function( $form ) {
$form['description'] = 'custom text here';
return $form;
},
1000
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment