classes/PodsInit.php
public function register_widgets() {

		$widgets = array(
			'PodsWidgetSingle',
			'PodsWidgetList',
			'PodsWidgetField',
			'PodsWidgetForm',
			'PodsWidgetView',
		);

		foreach ( $widgets as $widget ) {
			if ( ! file_exists( PODS_DIR . 'classes/widgets/' . $widget . '.php' ) ) {
				continue;
			}

			require_once PODS_DIR . 'classes/widgets/' . $widget . '.php';

			register_widget( $widget );
		}
	}
public function register_widgets() {

		$widgets = array(
			'PodsWidgetSingle',
			'PodsWidgetList',
			'PodsWidgetField',
			'PodsWidgetForm',
			'PodsWidgetView',
		);

		foreach ( $widgets as $widget ) {
			if ( ! file_exists( PODS_DIR . 'classes/widgets/' . $widget . '.php' ) ) {
				continue;
			}

			require_once PODS_DIR . 'classes/widgets/' . $widget . '.php';

			register_widget( $widget );
		}
	}
public function register_widgets ( ) { $ widgets = array ( 'PodsWidgetSingle' , 'PodsWidgetList' , 'PodsWidgetField' , 'PodsWidgetForm' , 'PodsWidgetView' , ) ; foreach ( $ widgets as $ widget ) { if ( ! file_exists ( PODS_DIR . 'classes/widgets/' . $ widget . '.php' ) ) { continue ; } require_once PODS_DIR . 'classes/widgets/' . $ widget . '.php' ; register_widget ( $ widget ) ; } }
Register widgets for Pods
Register widgets for Pods