dozent_enroll_box( bool $echo = true )
Render course enroll box
Description
Price, Start course, enroll course etc will be available here.
Example usage:
dozent_enroll_box();
Parameters
- $echo
-
(bool) (Optional)
Default value: true
Return
(mixed|void)
Source
File: includes/template-functions.php
function dozent_enroll_box( $echo = true ) { ob_start(); dozent_load_template( 'single.course.enroll-box' ); $output = apply_filters( 'dozent.single.course.enroll-box', ob_get_clean() ); if ( $echo ) { echo $output; } return $output; }
Changelog
Version | Description |
---|---|
DozentLMS 1.0.0 | Introduced. |