If your PODS solution is extending the User meta fields then this snippet is for you! When adding a new user, by default you would not see any of the new User fields. This snippet permits the meta fields to be available when adding a new User.
<?php
/*----------------------------------------------------*/
/* Add the Pods user meta fields to the New User form */
/*----------------------------------------------------*/
if ( is_plugin_active( 'pods/init.php' ) ) {
//PODS plugin is activated before this action
add_action( 'user_new_form', array( pods_meta(), 'meta_user' ) );
}
else {
echo 'no active Pods';
}
Code language: HTML, XML (xml)