taxonomies_fields( $args )
This method is responsible for customizing the taxonomy field group in the admin area.
It modifies the taxonomy details field group.
Plugin
Namespace
Launchpad
Parameter
array
$args
Field group args.
Return
array
An array of field group args.
Source
File: \includes\class-lp-cpt.php
public function taxonomies_fields( $args ) {
if( is_array( $this->taxonomies ) && ! empty( $this->taxonomies ) ){
foreach( $this->taxonomies as $taxonomy ){
$args['location'][] = array(
'taxonomy' => lp__array_key_value( 'name', $taxonomy )
);
}
}