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.


Top ↑

Return Return

(string) The taxonomy rest base.


Top ↑

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.
	 */

Top ↑

Changelog 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.