Created
May 23, 2021 21:11
-
-
Save frankyonnetti/a24ff565f98151162cd1a91ed5b14171 to your computer and use it in GitHub Desktop.
Wordpress - get_post_type() #wordpress
This file contains hidden or 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 printf( __( 'The post type is: %s', 'textdomain' ), get_post_type( get_the_ID() ) ); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment