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

Check if Gutenberg editor is enabled for post type.


Description Description


Parameters Parameters

$post_type

(Optional) Post Type slug to check.

Default value: ''


Top ↑

Return Return

(bool) true is enable. Otherwise false.


Top ↑

Source Source

File: includes/rest-api/class-ld-rest-api.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.8 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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