Browse: Home / Classes / LearnDash_REST_API /

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


Changelog #

Changelog
Version Description
2.5.8 Introduced.