mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 07:04:06 +09:00
Add option to require profile photo in profile form
This commit is contained in:
@@ -406,6 +406,12 @@
|
||||
<?php do_action('um_after_header_meta', um_user('ID'), $args ); ?>
|
||||
|
||||
</div><div class="um-clear"></div>
|
||||
|
||||
<?php
|
||||
if ( $ultimatemember->fields->is_error( 'profile_photo' ) ) {
|
||||
echo $ultimatemember->fields->field_error( $ultimatemember->fields->show_error('profile_photo'), 'force_show' );
|
||||
}
|
||||
?>
|
||||
|
||||
<?php do_action('um_after_header_info', um_user('ID'), $args); ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user