learndash_get_single_post( string $post_type = '' )

Gets a single WP_Post for a given learndash post type.


Description Description


Parameters Parameters

$post_type

(Optional) The post type slug.

Default value: ''


Top ↑

Return Return

(WP_Post|void) The WP_Post object for a given post type.


Top ↑

Source Source

File: includes/ld-misc-functions.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.