| 1 |
import { applyFilters } from '@wordpress/hooks'; |
| 2 |
import { __ } from '@wordpress/i18n'; |
| 3 |
|
| 4 |
import Blocks from './blocks'; |
| 5 |
import Breakpoints from './breakpoints'; |
| 6 |
import CssJs from './css-js'; |
| 7 |
import Fonts from './fonts'; |
| 8 |
import Icons from './icons'; |
| 9 |
import Typography from './typography'; |
| 10 |
|
| 11 |
export default function () { |
| 12 |
return applyFilters('ghostkit.settings.pages', { |
| 13 |
blocks: { |
| 14 |
label: __('Blocks', 'ghostkit'), |
| 15 |
block: Blocks, |
| 16 |
}, |
| 17 |
icons: { |
| 18 |
label: __('Icons', 'ghostkit'), |
| 19 |
block: Icons, |
| 20 |
}, |
| 21 |
typography: { |
| 22 |
label: __('Typography', 'ghostkit'), |
| 23 |
block: Typography, |
| 24 |
}, |
| 25 |
fonts: { |
| 26 |
label: __('Fonts', 'ghostkit'), |
| 27 |
block: Fonts, |
| 28 |
}, |
| 29 |
breakpoints: { |
| 30 |
label: __('Breakpoints', 'ghostkit'), |
| 31 |
block: Breakpoints, |
| 32 |
}, |
| 33 |
css_js: { |
| 34 |
label: __('CSS & JavaScript', 'ghostkit'), |
| 35 |
block: CssJs, |
| 36 |
}, |
| 37 |
}); |
| 38 |
} |
| 39 |
|