<?php
	namespace Elementor;
	class Jobbank_Employer_Widget extends Widget_Base {
		public function get_name() {
			return 'jobbank_employer';
		}
		public function get_title() {
			return esc_html__( 'Employer Directory', 'jobbank' );
		}
		public function get_icon() {
			return 'eicon-post-excerpt';
		}
		public function get_categories() {
			return [ 'jobbank_elements' ];
		}
		protected function register_controls() {
		}
		//Render
		protected function render() {
			$shortcode ="[jobbank_employer_directory]";		
		?>
		<div class="elementor-shortcode"><?php echo do_shortcode( shortcode_unautop( $shortcode ) );  ?></div>
		<?php
		}
	}
Plugin::instance()->widgets_manager->register( new Jobbank_Employer_Widget );