Learndash_Admin_Metabox_Quiz_Builder::get_label_for_post_type( string $post_type = '', boolean $singular = true )
Utility function to get the label for Post Type.
Description #
Parameters #
- $post_type
-
(string) (Optional) Post Type slug.
Default value: ''
- $singular
-
(boolean) (Optional) True if singular label needed. False for plural.
Default value: true
Source #
File: includes/admin/classes-builders/class-learndash-admin-quiz-builder-metabox.php
Changelog #
Version | Description |
---|---|
2.6.0 | Introduced. |