Tag Info

Hot answers tagged

2

You could just show the first 10 characters of the string, like: echo substr($user->user_registered, 0, 10);


1

To get post meta fields, you can use get_post_meta() function, but obviously not get_user_meta(), the name of the functions are self-explanatory. The first parameter of get_post_meta() function is the post ID; here you define which post you want to get postmeta from. So, you need to get frist the post ID of the post you want and then pass this ID to ...


1

This could be the matter of adjusting the priority of your filter callback, since the plugins files are executed before the functions.php theme file. That could explain why it works in your functions.php file, if the priority is the same. When you add the code snippet to a plugin, it might be executed before the other plugins that use the same filter. The ...


1

For every scaling question you can look at wordpress.com and see how big they are. I do't know the details but I think that with all the users of wordpress.com itself, akismet users and jetpack users, an estimate of 1M users can't be totally wrong.. In addition so far as far as auttomatic people say they are running vanilla wordpress (or very very close to ...


1

For this, you have to use user_register hook defined on wp-includes/users.php line 1759. personal_options_update hook is called, when an user updating his own profile. edit_user_profile_update is called, when an administrator updating other user profile. nothing is called, when an administrator creating a new user. On user-new.php page, new user are ...



Only top voted, non community-wiki answers of a minimum length are eligible