acf_export_taxonomy_as_php()ACF 6.1

Exports an ACF taxonomy as PHP.

No Hooks.

Returns

String|true|false.

Usage

acf_export_taxonomy_as_php( $taxonomy );
$taxonomy(array) (required)
The ACF taxonomy array.

Changelog

Since 6.1 Introduced.

acf_export_taxonomy_as_php() code ACF 6.8.8

function acf_export_taxonomy_as_php( array $taxonomy ) {
	return acf_export_internal_post_type_as_php( $taxonomy, 'acf-taxonomy' );
}