function graphqlMapTypesFromLocations() {
		var checkboxes = $j('.acf-field[data-name="graphql_types"] .acf-checkbox-list input[type="checkbox"]');
		var manualMapTypes = $j('#acf_field_group-map_graphql_types_from_location_rules');

		if (manualMapTypes.not(':checked')) {
			getGraphqlTypesFromLocationRules();
		}

		checkboxes.each(function (i, el) {
			if (manualMapTypes.is(':checked')) {
				$j(this).removeAttr("disabled");
			} else {
				$j(this).attr("disabled", true);
			}
		});
		manualMapTypes.on('change', function () {
			graphqlMapTypesFromLocations();
		});
	}
/**
	 * Determine whether users should be able to interact with the checkboxes
	 * to manually set the GraphQL Types for the ACF Field Group
	 */
Determine whether users should be able to interact with the checkboxes
to manually set the GraphQL Types for the ACF Field Group
Determine whether users should be able to interact with the checkboxes to manually set the GraphQL Types for the ACF Field Group
function graphqlMapTypesFromLocations() {
		var checkboxes = $j('.acf-field[data-name="graphql_types"] .acf-checkbox-list input[type="checkbox"]');
		var manualMapTypes = $j('#acf_field_group-map_graphql_types_from_location_rules');
		if (manualMapTypes.not(':checked')) {
			getGraphqlTypesFromLocationRules();
		}
		checkboxes.each(function (i, el) {
			if (manualMapTypes.is(':checked')) {
				$j(this).removeAttr("disabled");
			} else {
				$j(this).attr("disabled", true);
			}
		});
		manualMapTypes.on('change', function () {
			graphqlMapTypesFromLocations();
		});
	}
function graphqlMapTypesFromLocations ( ) { var checkboxes = $j ( '.acf-field[data-name="graphql_types"] .acf-checkbox-list input[type="checkbox"]' ) ; var manualMapTypes = $j ( '#acf_field_group-map_graphql_types_from_location_rules' ) ; if ( manualMapTypes . not ( ':checked' ) ) { getGraphqlTypesFromLocationRules ( ) ; } checkboxes . each ( function ( i , el ) { if ( manualMapTypes . is ( ':checked' ) ) { $j ( this ) . removeAttr ( "disabled" ) ; } else { $j ( this ) . attr ( "disabled" , true ) ; } } ) ; manualMapTypes . on ( 'change' , function ( ) { graphqlMapTypesFromLocations ( ) ; } ) ; }
Determine whether users should be able to interact with the checkboxes
 to manually set the GraphQL Types for the ACF Field Group
Determine whether users should be able to interact with the checkboxes to manually set the GraphQL Types for the ACF Field Group