LearnDash_REST_API::gutenberg_enabled LearnDash_REST_API::gutenberg_enabled( string $post_type = '' ) Check if Gutenberg editor is enabled for post type. ContentsDescription Parameters Return Source Changelog Related @package Uses Used By Description # Parameters # $post_type (string) (Optional) Post Type slug to check. Default value: '' Return # (bool) true is enable. Otherwise false. Source # File: includes/rest-api/class-ld-rest-api.php Changelog # Changelog Version Description 2.5.8 Introduced. Related # @package # LearnDash / REST Uses # Uses Uses Description includes/rest-api/class-ld-rest-api.php: learndash_gutenberg_enabled Filters whether the Gutenberg editor is enabled for the plugin or not. Used By # Used By Used By Description includes/ld-assignment-uploads.php: learndash_register_assignment_upload_type () Registers assignments custom post type. includes/class-ld-lms.php: SFWD_LMS::add_post_types () Sets up CPT’s and creates a ‘new SFWD_CPT_Instance()’ of each includes/rest-api/class-ld-rest-api.php: LearnDash_REST_API::get_controller () Get REST controller for post type. includes/quiz/ld-quiz-essays.php: learndash_register_essay_post_type () Registers the essay post type.
Uses # Uses Uses Description includes/rest-api/class-ld-rest-api.php: learndash_gutenberg_enabled Filters whether the Gutenberg editor is enabled for the plugin or not.
Used By # Used By Used By Description includes/ld-assignment-uploads.php: learndash_register_assignment_upload_type () Registers assignments custom post type. includes/class-ld-lms.php: SFWD_LMS::add_post_types () Sets up CPT’s and creates a ‘new SFWD_CPT_Instance()’ of each includes/rest-api/class-ld-rest-api.php: LearnDash_REST_API::get_controller () Get REST controller for post type. includes/quiz/ld-quiz-essays.php: learndash_register_essay_post_type () Registers the essay post type.