Hide all WordPress admin notices for non-admin users

If you gave wp-admin access to some users as editor or contributor etc, they will see those WordPress admin notices, even though those notices are mostly meaningless for them. Not ideal for end users, and often can be confusing. So we will turn off all admin notices for non-admin users… Read More »

Hide WordPress update notices for non-admin users

If you gave wp-admin access to some users as editor or contributor etc, they will see those update WordPress notices, even though they can’t perform the update. This is not very comprehensive behavior. So we are going to turn off update notices for non-admin users from wp-admin dashboard by removing… Read More »

Remove HTML tags from WordPress comments

By default WordPress allows several HTML tags in comment form. These are the default allowed tags: Above list can be different for you if your theme or any plugin is removing or adding more of these tags. You can check by printing allowed_tags function. Simply put echo allowed_tags(); in the… Read More »