/home/crealab/riscatto.brainware.com.co/wp-content/plugins/sfwd-lms/src/Core/Models/Topic.php
<?php
/**
 * This class provides the easy way to operate a topic.
 *
 * @since 4.6.0
 *
 * @package LearnDash\Core
 */

namespace LearnDash\Core\Models;

use LDLMS_Post_Types;

/**
 * Topic model class.
 *
 * @since 4.6.0
 */
class Topic extends Step {
	use Traits\Has_Quizzes;
	use Traits\Has_Materials;

	/**
	 * Returns allowed post types.
	 *
	 * @since 4.6.0
	 *
	 * @return string[]
	 */
	public static function get_allowed_post_types(): array {
		return array(
			LDLMS_Post_Types::get_post_type_slug( LDLMS_Post_Types::TOPIC ),
		);
	}
}