classes/PodsAdmin.php
public function admin_setup_reset( $obj, $id ) {

		$pod = pods_api()->load_pod( array( 'id' => $id ), false );

		if ( empty( $pod ) ) {
			return $obj->error( __( 'Pod not found.', 'pods' ) );
		}

		pods_api()->reset_pod( array( 'id' => $id ) );

		$obj->message( __( 'Pod reset successfully.', 'pods' ) );

		$obj->manage();
	}
public function admin_setup_reset( $obj, $id ) {

		$pod = pods_api()->load_pod( array( 'id' => $id ), false );

		if ( empty( $pod ) ) {
			return $obj->error( __( 'Pod not found.', 'pods' ) );
		}

		pods_api()->reset_pod( array( 'id' => $id ) );

		$obj->message( __( 'Pod reset successfully.', 'pods' ) );

		$obj->manage();
	}
public function admin_setup_reset ( $ obj , $ id ) { $ pod = pods_api ( ) -> load_pod ( array ( 'id' => $ id ) , false ) ; if ( empty ( $ pod ) ) { return $ obj -> error ( __ ( 'Pod not found.' , 'pods' ) ) ; } pods_api ( ) -> reset_pod ( array ( 'id' => $ id ) ) ; $ obj -> message ( __ ( 'Pod reset successfully.' , 'pods' ) ) ; $ obj -> manage ( ) ; }
Reset a pod

@param PodsUI     $obj PodsUI object.
@param int|string $id  Item ID.

@return mixed
Reset a pod