Open jtsternberg opened 9 years ago
get_fields_for_add_new method should probably still return a filtered value.
...
public function set_fields_for_add_new( $fields ) {
$this->add_new_fields = $fields;
}
public function get_fields_for_add_new() {
return apply_filters( "taxonomy_metadata_{$this->taxonomy}_add_form_fields", $this->add_new_fields, $this );
}
...
RE: https://github.com/jtsternberg/Taxonomy_MetaData/issues/19#issuecomment-69948692 I think the easiest way to handle this would be to use a new method on the returned Taxonomy_MetaData object.