acf/field_group/disable_field_settings_tabs

acf/field_group/disable_field_settings_tabs

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.2

apply_filters('acf/field_group/disable_field_settings_tabs') is found 2 times:

  • /includes/admin/post-types/admin-field-group.php line 273
    		 */
    		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>';
    
  • /includes/class-acf-site-health.php line 672
    				'value' => ! empty( $field_type_modal_enabled ) ? $yes : $no,
    				'debug' => $field_type_modal_enabled,
    			);
    
    			$field_settings_tabs_enabled = apply_filters( 'acf/field_group/disable_field_settings_tabs', false );
    
    			$fields['field_settings_tabs_enabled'] = array(
    				'label' => __( 'Field Settings Tabs Enabled', 'acf' ),
    				'value' => empty( $field_settings_tabs_enabled ) ? $yes : $no,
    				'debug' => $field_settings_tabs_enabled,
    			);