Support » Plugin: Autoptimize » Google Font display swap

  • Resolved Motionous


    I came across your blog post “Google Font display swap in Autoptimize?” here: and I wonder if such feature would be compatible with the “Combine and load fonts asynchronously with webfont.js” option.
    If so,
    – Could you tell approximately when such option will be available?
    – In the meanwhile, any advice in order to implement the following code?

    function add_display($in) {
      return $in.'&display=swap';

    It is not meant to be put into functions.php, is it?

    Anyway, as said before in another support topic, thanks a lot for your amazing plugins and contributions!


    • This topic was modified 11 months ago by Motionous.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google Font display swap’ is closed to new replies.