acf/field_group/disable_field_settings_tabs
acf/field_group/disable_field_settings_tabs
Appears in: advanced-custom-fields.6.2.2
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.2apply_filters('acf/field_group/disable_field_settings_tabs') is found 1 times:
- /includes/admin/post-types/admin-field-group.php line 263
*/ public function screen_settings( $html ) { $show_field_keys = acf_get_user_setting( 'show_field_keys' ) ? 'checked="checked"' : ''; $show_field_settings_tabs = acf_get_user_setting( 'show_field_settings_tabs', true ) ? 'checked="checked"' : ''; $hide_field_settings_tabs = apply_filters( 'acf/field_group/disable_field_settings_tabs', false ); $html .= '<div id="acf-append-show-on-screen" class="acf-hidden">'; $html .= '<label for="acf-field-key-hide"><input id="acf-field-key-hide" type="checkbox" value="1" name="show_field_keys" ' . $show_field_keys . ' /> ' . __( 'Field Keys', 'acf' ) . '</label>'; if ( ! $hide_field_settings_tabs ) { $html .= '<label for="acf-field-settings-tabs"><input id="acf-field-settings-tabs" type="checkbox" value="1" name="show_field_settings_tabs" ' . $show_field_settings_tabs . ' />' . __( 'Field Settings Tabs', 'acf' ) . '</label>';