Deactivate notifications? Load problem

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Deactivate notifications? Load problem

Viewing 6 reply threads
  • Author
    Posts
    • #59068
      jadenew
      Guest

      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 time

      When 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!

    • #59167
      WCFM Forum
      Keymaster

      Hi,

      Please add this to your child theme’s functions.php –

      add_filter( 'wcfm_is_allow_sound', '__return_false' );

      Thank you

    • #59923
      jadenew
      Guest

      That worked – thank you!! 🙂

    • #59931
      jadenew
      Guest

      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

    • #60211
      WCFM Forum
      Keymaster

      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

    • #81894
      services
      Participant

      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.

    • #82433
      WCFM Forum
      Keymaster
Viewing 6 reply threads
  • The topic ‘Deactivate notifications? Load problem’ is closed to new replies.