Description
Used to hide the ‘Browse Fields’ button to disable the field type selection modal when editing a field in the field group editor.
Changelog
- Added in version 6.1.
Example
This example demonstrates how to disable the ‘Browse Fields’ button.
functions.php
<?php
add_filter( 'acf/field_group/enable_field_browser', '__return_false' );