Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Deactivate notifications? Load problem
- This topic has 6 replies, 3 voices, and was last updated 4 years, 7 months ago by WCFM Forum.
- AuthorPosts
- April 23, 2019 at 5:50 pm #59068jadenewGuest
Hi there,
I hope you’re doing well 🙂
I have a question about disabling notifications on WCFM. I have discovered that it impacts load time a lot. Specifically:
wp-content/plugins/wc-frontend-manager/assets/sounds/desktop_notification.mp3 — 1 sec load time
wp-content/plugins/wc-frontend-manager/assets/sounds/notification.mp3 — 0.6 sec load time
wp-content/plugins/wc-frontend-manager/assets/sounds/notification.mp3 — 0.3 sec load timeWhen added up, it’s adding about 2 seconds to overall load time which is a lot. I don’t intend to use notifications at all, so I’d prefer to stop it from loading completely – is it possible?
Thank you!
- April 24, 2019 at 10:00 am #59167WCFM ForumKeymaster
Hi,
Please add this to your child theme’s functions.php –
add_filter( 'wcfm_is_allow_sound', '__return_false' );
Thank you
- April 29, 2019 at 1:53 pm #59923jadenewGuest
That worked – thank you!! 🙂
- April 29, 2019 at 2:15 pm #59931jadenewGuest
I’m sorry – it is now loading this: wp-content/plugins/wc-frontend-manager/assets/sounds/empty_audio.mp3
It’s actually loading it twice – 1 sec altogether. Is there a way to disable it as well?
Thank you
- May 1, 2019 at 1:55 pm #60211WCFM ForumKeymaster
Well, this empty file size is 36KB – https://ibb.co/c65SsCX
Is this talking 1 sec for load?
Then what is your site page total load time?
Thank You
- September 16, 2019 at 11:00 am #81894servicesParticipant
We would like it to be completely disabled as well, if there is no need for it (empty) then there should be no lead for a load instance. We don’t care about load times but the amount of requests we issue.
- September 19, 2019 at 3:57 pm #82433WCFM ForumKeymaster
Please use this plugin – https://wordpress.org/plugins/autoptimize/
- AuthorPosts
- The topic ‘Deactivate notifications? Load problem’ is closed to new replies.