The filter of Weaver menus Home › Forums › Weaver and Plugin Interaction › The filter of Weaver menus This topic has 2 replies, 2 voices, and was last updated 8 years ago by Remus. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts May 27, 2015 at 17:29 UTC - Views: 1 #17813 RemusParticipant Hello ! I use a plugin to lazy load images, Rocket Lazy Load. But it does not act on images from secondary and primary menus. The code is copied from the plugin .php file. Is there an identification string for Weaver Xtreme menus like the bolded ones below, so I can modify the plugin to act also on the menus content ? Weaver II has the same string for menus ? Thank you ! add_filter( ‘get_avatar‘, ‘rocket_lazyload_images’, PHP_INT_MAX ); add_filter( ‘the_content‘, ‘rocket_lazyload_images’, PHP_INT_MAX ); add_filter( ‘widget_text‘, ‘rocket_lazyload_images’, PHP_INT_MAX ); add_filter( ‘post_thumbnail_html‘, ‘rocket_lazyload_images’, PHP_INT_MAX ); May 27, 2015 at 19:47 UTC #22250 WeaverKeymaster That is really a question for the plugin, and is not really a theme question. But, ALL menus are run through a filter: $nav_menu = apply_filters( ‘wp_nav_menu’, $nav_menu, $args ); I have no idea if that filter can be intercepted properly or not as it has 2 arguments – $nav_menu and $args. But that is not a theme related problem. May 27, 2015 at 20:12 UTC - Views: 1 #22251 RemusParticipant It seems the plugin author it’s not interested about this issue, that’s why I asked here some info. I will try it myself, thanks ! EDIT I just added one more line with wp_nav_menu included… and it worked ! So simple 😉 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The forum ‘ Weaver and Plugin Interaction’ is closed to new topics and replies.