import { _x } from '@wordpress/i18n';
import { SelectControl } from '@wordpress/components';
const FontLanguageControl = props => {
const { className, subset, setSubset } = props;
const languageOptions = [
{
value: 'latin,all',
label: _x(
'All Languages',
'Label for the all languages option in the language dropdown in the customizer.',
'easy-google-fonts'
)
},
...window.egfGoogleFontLanguages
.map(language => ({ value: language, label: language }))
.sort((a, b) => (a.value > b.value ? 1 : -1))
];
return (
);
};
export default FontLanguageControl;
{"id":37,"count":0,"description":"","link":"https:\/\/kitchenkraftkreations.com\/product-tag\/chimney\/","name":"Chimney","slug":"chimney","taxonomy":"product_tag","meta":[],"_links":{"self":[{"href":"https:\/\/kitchenkraftkreations.com\/wp-json\/wp\/v2\/product_tag\/37"}],"collection":[{"href":"https:\/\/kitchenkraftkreations.com\/wp-json\/wp\/v2\/product_tag"}],"about":[{"href":"https:\/\/kitchenkraftkreations.com\/wp-json\/wp\/v2\/taxonomies\/product_tag"}],"wp:post_type":[{"href":"https:\/\/kitchenkraftkreations.com\/wp-json\/wp\/v2\/product?product_tag=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}