Ledger Nano X - The secure hardware wallet
SHARE
TWEET

fix for Enfold Main logo with WP-Rocket Lazy-Load

a guest Oct 23rd, 2019 531 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Compatibility fix for Enfold Main logo with WP-Rocket Lazy-Load */
  2. add_filter('avf_logo_final_output', 'mip_fix_enfold_logo_wp_rocket');
  3. function mip_fix_enfold_logo_wp_rocket($logo) {
  4. return str_replace("<img","<img data-no-lazy=\"1\"",$logo);
  5. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top