src/Taxonomy/TaxonomyField.php
protected function outputEditFields()
    {
        return function ($term) {
            /** @var \WP_Term $term */
            foreach ($this->repository as $field) {
                if (method_exists($field, 'termGet')) {
                    $field->termGet($term->term_id);
                }
            }

            echo $this->factory->make('themosis.taxonomy.edit', [
                'fields' => $this->repository
            ])->render();
        };
    }
protected function outputEditFields()
    {
        return function ($term) {
            /** @var \WP_Term $term */
            foreach ($this->repository as $field) {
                if (method_exists($field, 'termGet')) {
                    $field->termGet($term->term_id);
                }
            }

            echo $this->factory->make('themosis.taxonomy.edit', [
                'fields' => $this->repository
            ])->render();
        };
    }
protected function outputEditFields ( ) { return function ( $ term ) { /** @var \WP_Term $term */ foreach ( $ this -> repository as $ field ) { if ( method_exists ( $ field , 'termGet' ) ) { $ field -> termGet ( $ term -> term_id ) ; } } echo $ this -> factory -> make ( 'themosis.taxonomy.edit' , [ 'fields' => $ this -> repository ] ) -> render ( ) ; } ; }
Handle display of fields on "edit" term screen.

@return \Closure
Handle display of fields on edit term screen .