Browse: Home / Classes / Learndash_Admin_Posts_Listing /

Learndash_Admin_Posts_Listing::post_type_check

Learndash_Admin_Posts_Listing::post_type_check( string $post_type = '' )

Common function to check if we are editing a correct post type.


Description #


Parameters #

$post_type

(string) (Optional) Post type slug.

Default value: ''


Return #

(boolean) true is correct, else false.


Source #

File: includes/admin/class-learndash-admin-posts-listing.php


Changelog #

Changelog
Version Description
3.2.3 Introduced.