LearnDash_REST_API::get_controller

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

get REST controller for post type.


Description #


Parameters #

$post_type

(string) (Optional) Post Type slug to check.

Default value: ''


Return #

(string) Class name.


Source #

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