Solved – How to display the highest value in WordPress

I have these two values in a post in wordpress, each of them returns an area:

<?php listingpress_property_area(); ?>
<?php listingpress_property_areautil(); ?>

and i only need to show the highest, is it possible?

The above functions return values such as 200 and 600 or 400 and 300 and I need something that takes the two values and returns only the highest.

Read more here: Solved – How to display the highest value in WordPress

Leave a Reply

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