account
1 day ago
components
1 day ago
courses
1 day ago
discussions
1 day ago
elements
1 day ago
instructor
1 day ago
my-courses
1 year ago
my-quiz-attempts
1 day ago
quiz-attempts
1 day ago
student
1 day ago
wishlist
1 day ago
announcements.php
1 day ago
courses.php
1 day ago
create-course.php
1 day ago
dashboard.php
1 day ago
discussions.php
1 day ago
index.php
3 years ago
logged-in.php
3 years ago
my-courses.php
1 day ago
my-quiz-attempts.php
1 day ago
quiz-attempts.php
1 day ago
registration.php
1 day ago
wishlist.php
1 day ago
create-course.php
30 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Frontend course create template |
| 4 | * |
| 5 | * @package Tutor\Templates |
| 6 | * @subpackage Dashboard |
| 7 | * @author Themeum <support@themeum.com> |
| 8 | * @link https://themeum.com |
| 9 | * @since 1.4.3 |
| 10 | */ |
| 11 | |
| 12 | defined( 'ABSPATH' ) || exit; |
| 13 | |
| 14 | use TUTOR\Input; |
| 15 | |
| 16 | get_tutor_header( true ); |
| 17 | |
| 18 | do_action( 'tutor_load_template_before', 'dashboard.create-course', null ); |
| 19 | |
| 20 | $course_id = Input::get( 'course_id', 0, Input::TYPE_INT ); |
| 21 | $post = get_post( $course_id ); //phpcs:ignore |
| 22 | |
| 23 | setup_postdata( $post ); |
| 24 | |
| 25 | do_action( 'tutor_frontend_course_builder' ); |
| 26 | |
| 27 | do_action( 'tutor_load_template_after', 'dashboard.create-course', null ); |
| 28 | |
| 29 | get_tutor_footer( true ); |
| 30 |