classes/PodsAdmin.php
public function admin_content() {

		// @codingStandardsIgnoreLine
		$pod_name = str_replace( array( 'pods-manage-', 'pods-add-new-' ), '', $_GET['page'] );

		$pod = pods( $pod_name, pods_v( 'id', 'get', null, true ) );

		// @codingStandardsIgnoreLine
		if ( false !== strpos( $_GET['page'], 'pods-add-new-' ) ) {
			// @codingStandardsIgnoreLine
			$_GET['action'] = pods_v( 'action', 'get', 'add' );
		}

		$pod->ui();
	}
public function admin_content() {

		// @codingStandardsIgnoreLine
		$pod_name = str_replace( array( 'pods-manage-', 'pods-add-new-' ), '', $_GET['page'] );

		$pod = pods( $pod_name, pods_v( 'id', 'get', null, true ) );

		// @codingStandardsIgnoreLine
		if ( false !== strpos( $_GET['page'], 'pods-add-new-' ) ) {
			// @codingStandardsIgnoreLine
			$_GET['action'] = pods_v( 'action', 'get', 'add' );
		}

		$pod->ui();
	}
public function admin_content ( ) { // @codingStandardsIgnoreLine $ pod_name = str_replace ( array ( 'pods-manage-' , 'pods-add-new-' ) , '' , $ _GET [ 'page' ] ) ; $ pod = pods ( $ pod_name , pods_v ( 'id' , 'get' , null , true ) ) ; // @codingStandardsIgnoreLine if ( false !== strpos ( $ _GET [ 'page' ] , 'pods-add-new-' ) ) { // @codingStandardsIgnoreLine $ _GET [ 'action' ] = pods_v ( 'action' , 'get' , 'add' ) ; } $ pod -> ui ( ) ; }
Create PodsUI content for the administration pages
Create PodsUI content for the administration pages