define( 'LEARNDASH_BLOCK_WORDPRESS_CPT_ROUTES', bool $value )
Define LearnDash LMS – Enable block access to default WordPress CPT routes.
Contents
Description #
Logic added to prevent access to the automatic routes created as part of WP core for Gutenberg enabled custom post types. This new logic will prevent visibility read access if used is not authenticated or does not have update capabilities.
Parameters #
- $value
-
(bool) (Required) Default is true.
Source #
Changelog #
Version | Description |
---|---|
3.2.0 | Introduced. |