HEX
Server: Apache
System: Linux webm010.cluster127.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: alloesb (202139)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/a/l/l/alloesb/www/wp-content/plugins/wp-job-manager-locations/includes/class-widgets.php
<?php
/**
 * Widgets
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;

class Astoundify_Job_Manager_Regions_Widgets extends Astoundify_Job_Manager_Regions {

	public function __construct() {
		if ( ! class_exists( 'Jobify_Widget' ) ) {
			return;
		}

		$widgets = array(
			'class-widget-region-list.php'
		);

		foreach ( $widgets as $widget ) {
			include_once( $this->plugin_dir . '/' . $widget );
		}

		add_action( 'widgets_init', array( $this, 'widgets_init' ) );
	}

	public function widgets_init() {
		register_widget( 'Astoundify_Job_Manager_Regions_Widget' );
	}

}