In WordPress we can remove update notifications from all users except specific roles, by username or by user ID. Below you can find a few examples that you can insert into your functions.php file.
As I often work with APIs for our clients, I often need a simple password generator that creates a random password using numbers and letters, both lowercase and uppercase. The function below is a simple example.
If you are looking to remove the Add to Cart button in WooCommerce and replace it with a custom button then this short snippet is for you.
If you are trying to convert XML to an Array, then this is a snippet I have found useful in the past.