classes/PodsComponents.php
public function admin_handler() {

		$component = str_replace( 'pods-component-', '', pods_v_sanitized( 'page' ) );

		if ( isset( $this->components[ $component ] ) && isset( $this->components[ $component ]['object'] ) && is_object( $this->components[ $component ]['object'] ) ) {
			// Component init
			if ( method_exists( $this->components[ $component ]['object'], 'init' ) ) {
				$this->components[ $component ]['object']->init( $this->settings['components'][ $component ], $component );
			}

			if ( method_exists( $this->components[ $component ]['object'], 'admin' ) ) {
				// Component Admin handler
				$this->components[ $component ]['object']->admin( $this->settings['components'][ $component ], $component );
			} elseif ( method_exists( $this->components[ $component ]['object'], 'options' ) ) {
				// Built-in Admin Handler
				$this->admin( $this->components[ $component ]['object']->options( $this->settings['components'][ $component ] ), $this->settings['components'][ $component ], $component );
			}
		}
	}
public function admin_handler() {

		$component = str_replace( 'pods-component-', '', pods_v_sanitized( 'page' ) );

		if ( isset( $this->components[ $component ] ) && isset( $this->components[ $component ]['object'] ) && is_object( $this->components[ $component ]['object'] ) ) {
			// Component init
			if ( method_exists( $this->components[ $component ]['object'], 'init' ) ) {
				$this->components[ $component ]['object']->init( $this->settings['components'][ $component ], $component );
			}

			if ( method_exists( $this->components[ $component ]['object'], 'admin' ) ) {
				// Component Admin handler
				$this->components[ $component ]['object']->admin( $this->settings['components'][ $component ], $component );
			} elseif ( method_exists( $this->components[ $component ]['object'], 'options' ) ) {
				// Built-in Admin Handler
				$this->admin( $this->components[ $component ]['object']->options( $this->settings['components'][ $component ] ), $this->settings['components'][ $component ], $component );
			}
		}
	}
public function admin_handler ( ) { $ component = str_replace ( 'pods-component-' , '' , pods_v_sanitized ( 'page' ) ) ; if ( isset ( $ this -> components [ $ component ] ) && isset ( $ this -> components [ $ component ] [ 'object' ] ) && is_object ( $ this -> components [ $ component ] [ 'object' ] ) ) { // Component init if ( method_exists ( $ this -> components [ $ component ] [ 'object' ] , 'init' ) ) { $ this -> components [ $ component ] [ 'object' ] -> init ( $ this -> settings [ 'components' ] [ $ component ] , $ component ) ; } if ( method_exists ( $ this -> components [ $ component ] [ 'object' ] , 'admin' ) ) { // Component Admin handler $ this -> components [ $ component ] [ 'object' ] -> admin ( $ this -> settings [ 'components' ] [ $ component ] , $ component ) ; } elseif ( method_exists ( $ this -> components [ $ component ] [ 'object' ] , 'options' ) ) { // Built-in Admin Handler $ this -> admin ( $ this -> components [ $ component ] [ 'object' ] -> options ( $ this -> settings [ 'components' ] [ $ component ] ) , $ this -> settings [ 'components' ] [ $ component ] , $ component ) ; } } }
Call component specific admin functions

@since 2.0.0
Call component specific admin functions