How to update a specific package in Composer

Quick example of the composer command composer update author/package Usecase scenario I have a composer.json with many packages. I would like to update a specific, individual package, not all packages. If I use the command composer update it will search … Continued

Unformat Price Numbers, Remove Comma

Strip out the commas from a price meta value easily.


Array as Comma Separated List in PHP

Print a comma separated list from an array with this snippet, instead of looping through an array using a foreach.


Remove dollar sign & comma from price meta values

Function to remove or sanitize your money text meta field values.


Check if WP User ID is not one of these

How to do if statements with an array? Learn how to check whether or not certain user ids are included.