Title: Compatibility Global Functions
Published: February 21, 2025

---

# Compatibility Global Functions

[ Back to top](https://developer.wordpress.org/secure-custom-fields/code-reference/compatibility-file/?output_format=md#wp--skip-link--target)

## `acf_get_compatibility()`

Returns true if compatibility is enabled for the given component.

 * @date 20/1/15
 * @since ACF 5.1.5
 * @param string $name The name of the component to check.
 * @return boolean

---

First published

February 21, 2025

Last updated

February 21, 2025

Edit article

[ Improve it on GitHub: Compatibility Global Functions ](https://github.com/wordpress/secure-custom-fields/edit/trunk/docs/code-reference/compatibility-file.md)

Changelog

[ See list of changes: Compatibility Global Functions ](https://github.com/wordpress/secure-custom-fields/commits/trunk/docs/code-reference/compatibility-file.md)

[  Previous: Blocks Global Functions](https://developer.wordpress.org/secure-custom-fields/code-reference/blocks-file/)

[  Next: Datastore Global Functions](https://developer.wordpress.org/secure-custom-fields/code-reference/datastore-file/)