APP_Customizer_Google_Font_Select_Control

Google Font Select Custom Control


Package


Description Description



Top ↑

Methods Methods

  • __construct — Constructor
  • enqueue — Enqueue our scripts and styles
  • get_font_index — Find the index of the saved font in our multidimensional array of Google Fonts
  • get_google_fonts — Return the list of Google Fonts from our json file. Unless otherwise specfied, list will be limited to 30 fonts.
  • render_content — Render the control in the customizer
  • to_json — Export our List of Google Fonts to JavaScript
Premium WordPress Apps