Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

liquidweb/wp-static-menus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

WP Static Menus

Navigation rarely changes on most WordPress sites, why dynamically regenerate it every time? This plugin will store WordPress navigation menus as static HTML, even the really large ones.

Filters

wp_static_menu_cache_dir

Customize the location of the static menu cache directory

wp_static_menu_file_args

Customize the arguments being used to generate a static menu cache file - allowing for granular control over menu caching.

wp_static_menu_cache_file_name

Customize the file name of the static menu cache file.

wp_static_menus_cache_file

Customize the full file path of the static menu cache file.

wp_static_menus_bypass_cache

Allow for short circuiting the menu cache, any true value will bypass the cache.