Question
I want to make validation of image during edit profile (wp-admin). My code for validation is: add_action( 'user_profile_update_errors', 'validate_steamid_field' , 10, 3); function validate_steamid_field(&$validation_errors, $update = null, &$user = null){ if ( isset( $_FILES['custom_avatar'] ) && !empty($_FILES['custom_avatar']) && file_exists($_FILES['custom_avatar']['tmp_name']) ...
0
, , , 2 months 0 Answers 45 views

Question
I want every user to get a profile in the front-end of my website. So I want to visit website.com/user/user-name and view all the information of this user. Is this somehow possible? I would like to do this without a plug-in. ...
0
, , , 3 months 0 Answers 29 views