Sindbad~EG File Manager

Current Path : /home/xiedrke/malino/wp-content/plugins/wedesigntech-elementor-addon/inc/
Upload File :
Current File : /home/xiedrke/malino/wp-content/plugins/wedesigntech-elementor-addon/inc/register-widget-base.php

<?php

abstract class WeDesignTech_Elementor_Widget_Base extends \Elementor\Widget_Base {

	public function __construct( $data, $args ) {
		parent::__construct( $data, $args );
	}

	public function get_categories() {
		return [ 'wdt-widgets' ];
	}

	public function get_elementor_page_list(){
		$pagelist = get_posts(array(
			'post_type' => 'elementor_library',
			'showposts' => 999,
		));

		if ( ! empty( $pagelist ) && ! is_wp_error( $pagelist ) ){
			foreach ( $pagelist as $post ) {
				$options[ $post->ID ] = esc_html( $post->post_title );
			}
	        return $options;
		}
	}

}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists