learndash_post_type_has_archive( string $post_type = '' )

Checks if a LearnDash post type has archive support or not.


Description Description


Parameters Parameters

$post_type

(Optional) LearnDash post type slug.

Default value: ''


Top ↑

Return Return

(boolean) Returns true if the post type has archive support otherwise false.


Top ↑

Source Source

File: includes/ld-misc-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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