Reading dynamic-menu option
-
Following on from https://ww.wp.xz.cn/support/topic/options-slowing-page-load/, I looked at where the dynamic-menu option was being loaded or rather where get_option( $this->getCSSSlug() ) is called.
It looks like the calls in:
- MobileMenuCSS::__construct
- MobileMenuCSS::enqueueCSS
Are unneccessary as, in each case, the resulting variable is never used.
ps: in MobileMenuCSS::__construct the call to $this->getCSSFilePath() is also unnecessary, as the resulting variable is never used either.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Reading dynamic-menu option’ is closed to new replies.