classes/fields/pick.php
public function admin_modal_bail_term( $term_id, $tt_id, $taxonomy ) {

		if ( ! pods_is_modal_window() ) {
			return;
		}

		$term = get_term( $term_id );

		if ( ! $term || is_wp_error( $term ) ) {
			return;
		}

		$field_args = (object) array(
			'options' => array(
				'pick_object' => 'taxonomy',
				'pick_val'    => $term->taxonomy,
			),
			'value'   => array(
				$term->term_id => $term->name,
			),
		);

		$this->admin_modal_bail( $term->term_id, $term->name, $field_args );

	}
public function admin_modal_bail_term( $term_id, $tt_id, $taxonomy ) {

		if ( ! pods_is_modal_window() ) {
			return;
		}

		$term = get_term( $term_id );

		if ( ! $term || is_wp_error( $term ) ) {
			return;
		}

		$field_args = (object) array(
			'options' => array(
				'pick_object' => 'taxonomy',
				'pick_val'    => $term->taxonomy,
			),
			'value'   => array(
				$term->term_id => $term->name,
			),
		);

		$this->admin_modal_bail( $term->term_id, $term->name, $field_args );

	}
public function admin_modal_bail_term ( $ term_id , $ tt_id , $ taxonomy ) { if ( ! pods_is_modal_window ( ) ) { return ; } $ term = get_term ( $ term_id ) ; if ( ! $ term || is_wp_error ( $ term ) ) { return ; } $ field_args = ( object ) array ( 'options' => array ( 'pick_object' => 'taxonomy' , 'pick_val' => $ term -> taxonomy , ) , 'value' => array ( $ term -> term_id => $ term -> name , ) , ) ; $ this -> admin_modal_bail ( $ term -> term_id , $ term -> name , $ field_args ) ; }
Bail on Term save redirect for Admin modal.

@param int    $term_id  Term ID.
@param int    $tt_id    Term taxonomy ID.
@param string $taxonomy Taxonomy slug.
Bail on Term save redirect for Admin modal .