Browse: Home / Classes / LearnDash_REST_API /

LearnDash_REST_API::get_controller

This method has been deprecated. We did not find any usage of this method in our codebase and it makes no sense instead.

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

Get REST controller for the 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
4.10.3 We did not find any usage of this method in our codebase and it makes no sense.
2.5.8 Introduced. This method has been deprecated. We did not find any usage of this method in our codebase and it makes no sense instead.