LLMS_REST_Courses_Controller::get_taxonomy_rest_base( object $taxonomy )
Maps a taxonomy name to the relative rest base
Parameters Parameters
- $taxonomy
-
(object) (Required) The taxonomy object.
Return Return
(string) The taxonomy rest base.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-courses-controller.php
} return ! empty( $to_set ); } /** * Maps a taxonomy name to the relative rest base * * @since 1.0.0-beta.1 * * @param object $taxonomy The taxonomy object. * @return string The taxonomy rest base. */
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |