Adds custom fields to the end of the WP Video Memberships account information form on the Account page. .
function vs_netflix_custom_account_fields($user_id) { ?>
<div class="rvs-form-row">
<label><?php _e('Twitter Handle', 'vimeo-sync-memberships'); ?></label>
<input name="new_user_twitter_handle" type="text" value="<?php esc_attr_e( get_user_meta( $user_id, 'wpvs_user_twitter_handle', true ) ); ?>" required />
</div>
<?php }
add_action('wpvs_add_fields_after_account_form', 'vs_netflix_custom_account_fields', 10, 1);
Comments
0 comments
Article is closed for comments.