classes/Pods.php
public function input( $field, $input_name = null, $value = '__null' ) {

		if ( is_array( $field ) ) {
			// Field data override.
			$field_data = $field;

			$field = pods_v( 'name', $field );
		} else {
			// Get field data from field name.
			$field_data = $this->fields( $field );
		}

		if ( ! empty( $field_data ) ) {
			$field_type = pods_v( 'type', $field_data );

			if ( empty( $input_name ) ) {
				$input_name = $field;
			}

			if ( '__null' === $value ) {
				$value = $this->field( array(
					'name'    => $field,
					'in_form' => true,
				) );
			}

			return PodsForm::field( $input_name, $value, $field_type, $field_data, $this, $this->id() );
		}

		return '';

	}
public function input( $field, $input_name = null, $value = '__null' ) {

		if ( is_array( $field ) ) {
			// Field data override.
			$field_data = $field;

			$field = pods_v( 'name', $field );
		} else {
			// Get field data from field name.
			$field_data = $this->fields( $field );
		}

		if ( ! empty( $field_data ) ) {
			$field_type = pods_v( 'type', $field_data );

			if ( empty( $input_name ) ) {
				$input_name = $field;
			}

			if ( '__null' === $value ) {
				$value = $this->field( array(
					'name'    => $field,
					'in_form' => true,
				) );
			}

			return PodsForm::field( $input_name, $value, $field_type, $field_data, $this, $this->id() );
		}

		return '';

	}
public function input ( $ field , $ input_name = null , $ value = '__null' ) { if ( is_array ( $ field ) ) { // Field data override. $ field_data = $ field ; $ field = pods_v ( 'name' , $ field ) ; } else { // Get field data from field name. $ field_data = $ this -> fields ( $ field ) ; } if ( ! empty ( $ field_data ) ) { $ field_type = pods_v ( 'type' , $ field_data ) ; if ( empty ( $ input_name ) ) { $ input_name = $ field ; } if ( '__null' === $ value ) { $ value = $ this -> field ( array ( 'name' => $ field , 'in_form' => true , ) ) ; } return PodsForm :: field ( $ input_name , $ value , $ field_type , $ field_data , $ this , $ this -> id ( ) ) ; } return '' ; }
Return a field input for a specific field

@param string|array      $field      Field name or Field data array.
@param string|array|null $input_name Input field name to use (overrides default name).
@param mixed             $value      Current value to use.

@return string Field Input HTML

@since 2.3.10
Return a field input for a specific field