How to insert the first letter in uppercase

short question, I have a variable concatenated with a get_the_title and get_the_category, and I need the get_the_category to show the first letter in capital letters.

<?php echo get_the_title().’ – ‘.get_post_type( get_the_ID() ) ; ?>

Anyone have an idea?

Thank-

Read more here:: How to insert the first letter in uppercase

Leave a Reply

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