acf_export_taxonomy_as_php()
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() 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' );
}