Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 104.21.25.182  /  Your IP : 216.73.216.79
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/sfwd-lms/includes/course/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/sfwd-lms/includes/course/ld-course-metaboxes.php
<?php
/**
 * Course Metaboxes.
 *
 * Introduces metaboxes at Add/Edit Course page to be used as
 * a wrapper by the React application at front-end.
 *
 * @since 3.0.0
 * @package LearnDash\Course
 */

namespace LearnDash\Course\Metaboxes;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Adds the meta boxes to course post type.
 *
 * Fires on `learndash_add_meta_boxes` and `add_meta_boxes_sfwd-courses` hook.
 *
 * @since 3.0.0
 */
function add_meta_boxes() {

	$screen = get_current_screen();

	if ( 'sfwd-courses' !== get_post_type( get_the_ID() ) &&
		'sfwd-courses_page_courses-builder' !== $screen->id ) {
		return;
	}

	add_meta_box(
		'sfwd-course-lessons',
		sprintf( '%s', \LearnDash_Custom_Label::get_label( 'lessons' ) ),
		'LearnDash\Course\Metaboxes\meta_box_lessons_callback',
		null,
		'side'
	);

	add_meta_box(
		'sfwd-course-topics',
		sprintf( '%s', \LearnDash_Custom_Label::get_label( 'topics' ) ),
		'LearnDash\Course\Metaboxes\meta_box_topics_callback',
		null,
		'side'
	);

	add_meta_box(
		'sfwd-course-quizzes',
		sprintf( '%s', \LearnDash_Custom_Label::get_label( 'quizzes' ) ),
		'LearnDash\Course\Metaboxes\meta_box_quizzes_callback',
		null,
		'side'
	);

}
add_action( 'add_meta_boxes_sfwd-courses', 'LearnDash\Course\Metaboxes\add_meta_boxes' );
add_action( 'learndash_add_meta_boxes', 'LearnDash\Course\Metaboxes\add_meta_boxes' );

/**
 * Prints the lesson metabox content.
 *
 * @since 3.0.0
 */
function meta_box_lessons_callback() {
	?>
	<div id="sfwd-lessons-app"></div>
	<?php
}

/**
 * Prints the topics metabox content.
 *
 * @since 3.0.0
 */
function meta_box_topics_callback() {
	?>
	<div id="sfwd-topics-app"></div>
	<?php
}

/**
 * Prints the quizzes meta box content.
 *
 * @since 3.0.0
 */
function meta_box_quizzes_callback() {
	?>
	<div id="sfwd-quizzes-app"></div>
	<?php
}

Youez - 2016 - github.com/yon3zu
LinuXploit