Can I show a custom message to a specific user?

Yes, if you will be doing that with code. You will have to – add a Role (like free user). Add this code (change code as needed for your work). function update_roles_free_user() { add_role( ‘free_user’, ‘Free User’, array( ‘read’ => true, ‘level_0’ => true ) ); } add_action( ‘init’, ‘update_roles_free_user’ ); You can use the … Read more

3 different mail notifications

Unless for some reason you need this to be hardcoded into your theme or have full control over your own plugin, you could use the existing Peter’s Collaboration Emails plugin. If installing a plugin is not an option, I’d suggest modifying the above or borrowing some of its code, respectively. It can do all the … Read more

Show Admin Message on Redirect

Here’s an updated version of your code that also handles the notification message using the Transients API. /** * If post status is pending, set transient containing error message and * change the redirect location. * Filters slashed post data just before it is inserted into the database. * * @param array $data An array … Read more

Remove Update Notification (for all users except ADMIN)

this works fine for a specific user login: global $user_login; get_currentuserinfo(); if ($user_login !== “admin”) { // change admin to the username that gets the updates add_action( ‘init’, create_function( ‘$a’, “remove_action( ‘init’, ‘wp_version_check’ );” ), 2 ); add_filter( ‘pre_option_update_core’, create_function( ‘$a’, “return null;” ) ); } and this for a specific user id: global $user_ID; … Read more