LearnDash_REST_API::get_controller( string $post_type = '' )
get REST controller for post type.
Description Description
Parameters Parameters
- $post_type
-
(Optional) Post Type slug to check.
Default value: ''
Return Return
(string) Class name.
Source Source
File: includes/rest-api/class-ld-rest-api.php
Changelog Changelog
Version | Description |
---|---|
2.5.8 | Introduced. |