dozent_get_dashboard_permalink( string $menu_item_id = '' )
Parameters
- $menu_item_id
-
(string) (Optional) key of id from the menu
Default value: ''
Return
(string) Generate Dozent Dashboard Page Permalink
Source
File: includes/core-functions.php
function dozent_get_dashboard_permalink( $menu_item_id = '') { if ($menu_item_id === 'index') { $menu_item_id = ''; } $page_id = dozent_get_dashboard_page_id(); return trailingslashit( get_permalink( $page_id ) ) . $menu_item_id; }
Changelog
Version | Description |
---|---|
DozentLMS 1.0.0 | Introduced. |