Posted in PHP

Function: metres to feet and inches

We had a project recently where ACF fields for metres needed to be converted to feet and inches, a useful PHP snippet was tasked with the job of converting these measurements. It worked out great!

Here’s the function:

Leave a Reply

Your email address will not be published. Required fields are marked *