Only Admin receives email

Mail sent from WP uses wp_mail() function. There is a filter that you can use before the mail is sent to filter the arguments used in the wp_mail() function, including the $to value. See https://developer.wordpress.org/reference/hooks/wp_mail/ Look at the example code on that page to get an idea of how to block (or redirect) all mail … Read more

Is it possible to hide or encrypt the display name after login into the WordPress admin panel?

If you are talking about the “Howdy” message shown on the admin black bar after login, you can use code similar to this to filter that information. add_action(‘admin_bar_menu’, ‘lets_change_howdy’, 11); function lets_change_howdy($wp_admin_bar) { $user_id = get_current_user_id(); $current_user = wp_get_current_user(); $profile_url = get_edit_profile_url($user_id); if (0 != $user_id) { $avatar = get_avatar($user_id, 28); $howdy = sprintf(__(‘Welcome, %1$s’), … Read more

Email Subscribe for Downloads in WordPress

The following is not the best solution. It is a simple solution that can be / should be improved and it is intended only to give you a direction. Create a CPT ‘resource’. register_post_type(‘resource’, $args); For args refer here. Under your WP root folder (the one where you have /wp-admin, /wp-includes and /wp-content), via FTP … Read more