Browse: Home / Classes / LearnDash_REST_API /

LearnDash_REST_API::gutenberg_enabled

LearnDash_REST_API::gutenberg_enabled( string $post_type = '' )

Check if Gutenberg editor is enabled for post type.


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.