WordPress Dapatkan Jenis Posting
// Retrieves the post type of the current post or of a given post.
get_post_type( int|WP_Post|null $post = null )
TheDutchScorpion
// Retrieves the post type of the current post or of a given post.
get_post_type( int|WP_Post|null $post = null )
get_post_type( url_to_postid( $url ) )