announcements
1 year ago
assignments
8 months ago
elements
1 year ago
enrolled-courses
3 years ago
instructor
2 years ago
my-courses
1 year ago
my-quiz-attempts
3 years ago
notifications
3 years ago
question-answer
1 year ago
quiz-attempts
3 years ago
reviews
3 years ago
settings
1 year ago
withdraw-method-fields
3 years ago
announcements.php
1 year ago
assignments.php
10 months ago
create-course.php
1 year ago
dashboard.php
8 months ago
enrolled-courses.php
8 months ago
index.php
3 years ago
logged-in.php
3 years ago
my-courses.php
8 months ago
my-profile.php
9 months ago
my-quiz-attempts.php
3 years ago
purchase_history.php
10 months ago
question-answer.php
11 months ago
quiz-attempts.php
1 year ago
registration.php
2 years ago
reviews.php
3 years ago
settings.php
1 year ago
wishlist.php
1 year ago
withdraw.php
1 year ago
create-course.php
32 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 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | exit; |
| 14 | } |
| 15 | |
| 16 | use TUTOR\Input; |
| 17 | |
| 18 | get_tutor_header( true ); |
| 19 | |
| 20 | do_action( 'tutor_load_template_before', 'dashboard.create-course', null ); |
| 21 | |
| 22 | $course_id = Input::get( 'course_id', 0, Input::TYPE_INT ); |
| 23 | $post = get_post( $course_id ); //phpcs:ignore |
| 24 | |
| 25 | setup_postdata( $post ); |
| 26 | |
| 27 | do_action( 'tutor_frontend_course_builder' ); |
| 28 | |
| 29 | do_action( 'tutor_load_template_after', 'dashboard.create-course', null ); |
| 30 | |
| 31 | get_tutor_footer( true ); |
| 32 |