classes/PodsAdmin.php
protected function rest_admin() {

		if ( function_exists( 'register_rest_field' ) ) {
			add_filter(
				'pods_admin_setup_edit_field_options', array(
					$this,
					'add_rest_fields_to_field_editor',
				), 12, 2
			);
			add_filter( 'pods_admin_setup_edit_field_tabs', array( $this, 'add_rest_field_tab' ), 12 );
		}

		add_filter( 'pods_admin_setup_edit_tabs', array( $this, 'add_rest_settings_tab' ), 12, 2 );
		add_filter( 'pods_admin_setup_edit_options', array( $this, 'add_rest_settings_tab_fields' ), 12, 2 );

	}
protected function rest_admin() {

		if ( function_exists( 'register_rest_field' ) ) {
			add_filter(
				'pods_admin_setup_edit_field_options', array(
					$this,
					'add_rest_fields_to_field_editor',
				), 12, 2
			);
			add_filter( 'pods_admin_setup_edit_field_tabs', array( $this, 'add_rest_field_tab' ), 12 );
		}

		add_filter( 'pods_admin_setup_edit_tabs', array( $this, 'add_rest_settings_tab' ), 12, 2 );
		add_filter( 'pods_admin_setup_edit_options', array( $this, 'add_rest_settings_tab_fields' ), 12, 2 );

	}
protected function rest_admin ( ) { if ( function_exists ( 'register_rest_field' ) ) { add_filter ( 'pods_admin_setup_edit_field_options' , array ( $ this , 'add_rest_fields_to_field_editor' , ) , 12 , 2 ) ; add_filter ( 'pods_admin_setup_edit_field_tabs' , array ( $ this , 'add_rest_field_tab' ) , 12 ) ; } add_filter ( 'pods_admin_setup_edit_tabs' , array ( $ this , 'add_rest_settings_tab' ) , 12 , 2 ) ; add_filter ( 'pods_admin_setup_edit_options' , array ( $ this , 'add_rest_settings_tab_fields' ) , 12 , 2 ) ; }
Build UI for extending REST API, if makes sense to do so.

@since  2.6.0

@access protected
Build UI for extending REST API if makes sense to do so .