HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/locationdebateau/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' ),
				],
			]
		);
	}
}