HEX
Server: LiteSpeed
System: Linux cde4.duelhost.dk 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User: dmhkjfau (1027)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/dmhkjfau/public_html/wp-content/plugins/wp-seopress/src/Helpers/Schemas/Course.php
<?php

namespace SEOPress\Helpers\Schemas;

defined( 'ABSPATH' ) or exit( 'Cheatin&#8217; uh?' );

abstract class Course {
	public static function getCategories() {
		return apply_filters(
			'seopress_get_options_schema_course_categories',
			[
				[
					'value' => 'none',
					'label' => __( 'Select a category', 'wp-seopress' ),
				],
				[
					'value' => 'Free',
					'label' => __( 'Free', 'wp-seopress' ),
				],
				[
					'value' => 'Partially Free',
					'label' => __( 'Partially free', 'wp-seopress' ),
				],
				[
					'value' => 'Subscription',
					'label' => __( 'Subscription', 'wp-seopress' ),
				],
				[
					'value' => 'Paid',
					'label' => __( 'Paid', 'wp-seopress' ),
				],
			]
		);
	}

	public static function getCourseModes() {
		return apply_filters(
			'seopress_get_options_schema_course_course_modes',
			[
				[
					'value' => 'none',
					'label' => __( 'Select a category', 'wp-seopress' ),
				],
				[
					'value' => 'Onsite',
					'label' => __( 'Onsite', 'wp-seopress' ),
				],
				[
					'value' => 'Online',
					'label' => __( 'Online', 'wp-seopress' ),
				],
			]
		);
	}

	public static function getRepeatFrequencies() {
		return apply_filters(
			'seopress_get_options_schema_course_repeat_frequencies',
			[
				[
					'value' => 'none',
					'label' => __( 'Select a category', 'wp-seopress' ),
				],
				[
					'value' => 'Daily',
					'label' => __( 'Daily', 'wp-seopress' ),
				],
				[
					'value' => 'Weekly',
					'label' => __( 'Weekly', 'wp-seopress' ),
				],
				[
					'value' => 'Monthly',
					'label' => __( 'Monthly', 'wp-seopress' ),
				],
				[
					'value' => 'Yearly',
					'label' => __( 'Yearly', 'wp-seopress' ),
				],
			]
		);
	}
}