Last active
August 27, 2021 16:25
-
-
Save ashsaraga/4d4c0aceb9f582bbc5615e347010fc6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Echo with lowercase first letter | |
echo lcfirst( post_type_archive_title( '', false ) ); | |
// Echo as titled in WP | |
echo post_type_archive_title( '', false ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment