Articles on: Developers

Add additional URLs to preload

FlyingPress fetches URLs to preload automatically; this includes posts, pages, custom posts, and taxonomies (category, tags etc.).

If you've URLs that are not in this list but should be preloaded, you can use the filter flying_press_preload_urls like below:

add_filter('flying_press_preload_urls', function ($urls) {
  $urls[] = '';
  $urls[] = '';
  $urls[] = '';
  return $urls;

Updated on: 23/11/2023

Was this article helpful?

Share your feedback


Thank you!