LLMS_Shortcodes::course_title( array $atts )
Retrieve the Course Title
Parameters Parameters
- $atts
-
(array) (Required) Associative array of shortcode attributes.
Return Return
(string)
Source Source
File: includes/shortcodes/class.llms.shortcodes.php
*/
public static function course_title( $atts ) {
$course_id = self::get_course_id();
if ( ! $course_id ) {
return '';
}
return get_the_title( $course_id );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| unknown | unknown |
| 2.7.9 | Introduced. |