How can i change the name order in the admin?

You can’t alter the default Name column, but what you can do is hide it and create your own custom column. First, we add the action and filter on admin_init that will add and manage our new column: function wpa66544_user_custom_column_init(){ add_filter( ‘manage_users_columns’, ‘wpa66544_user_add_column’ ); add_action( ‘manage_users_custom_column’, ‘wpa66544_user_manage_column’, 100, 3 ); } add_action( ‘admin_init’, ‘wpa66544_user_custom_column_init’ ); … Read more

Split Blog Into Two Sections?

My first thought was to create 2 main categories. Exclude one from the wordpress loop on index.php and then only show that category on a different page. The only problem with this method is that the users would have to make sure they are posting in the correct category. However if you used a plugin … Read more

How to delete user on logout and when session expires?

So this is what I did…also keep in mind this is for a multisite and I am call calling this within a class. ‘Client’ is a custom user role that is create and given to users when they are created. function delete_user() { global $current_user; if(in_array(‘client’, $current_user->roles )){ if(!function_exists(‘wp_delete_user’)) { include(ABSPATH . “wp-admin/includes/ms.php”); } wpmu_delete_user( … Read more