LLMS_REST_Posts_Controller::get_taxonomy_rest_base( object $taxonomy )

Maps a taxonomy name to the relative rest base

Parameters Parameters


(object) (Required) The taxonomy object.

Top ↑

Return Return

(string) The taxonomy rest base.

Top ↑

Source Source

File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php

				if ( ! get_term( $term_id, $taxonomy->name ) ) {

				if ( ! current_user_can( 'assign_term', (int) $term_id ) ) {

Top ↑

Changelog Changelog

Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.