Table of Contents
gkt_enqueue_*
Ghost Kit PHP filters cover the parts of the plugin a site is most likely to change. Four groups are documented here: turning off a bundled library, adding icons to the picker, adding typography options and adding shapes to the Shape Divider block. Add the calls to your theme’s functions.php or to a plugin of your own.
| Event |
|---|
| gkt_enqueue_plugin_jarallax |
| gkt_enqueue_plugin_motion |
| gkt_enqueue_plugin_luxon |
| gkt_enqueue_plugin_lottie_player |
| gkt_enqueue_plugin_swiper |
| gkt_enqueue_plugin_gist_simple |
| gkt_enqueue_plugin_gmaps |
| gkt_enqueue_google_recaptcha |
gkt_icons_list
By default, the icon picker contains FontAwesome icons. You can add any SVG icons you want extend icon picker using the PHP filter:
gkt_custom_typography
By default, Typography options are used for Body, Headings, and Buttons. You can add custom options by extending typography using the PHP filter:
gkt_shapes_list
By default, the Shapes Divider block contains 12 predefined SVG shapes. You can extend the shapes list using the PHP filter: