Title: Multisite/Network and Hooks
Last modified: May 10, 2021

---

# Multisite/Network and Hooks

 *  Resolved [AWOL](https://wordpress.org/support/users/awol/)
 * (@awol)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/multisite-network-and-hooks/)
 * I have looked through the support forum and the documentation but cannot find
   a reference or answer to a problem I am having. I have a multisite/network setup
   with three sites, and mycred network enabled and central logging enabled, but
   master template disabled. I have set up hooks on all 3 sites, but only the hooks
   on the main site are working. Is this correct behaviour, and if so is it possible
   to allow hooks to work on all subsites? If it is not correct, do you have any
   suggestions as to why it isn’t working properly?
    Many thanks.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [5 years ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14425309)
 * Hi [@awol](https://wordpress.org/support/users/awol/),
 * Thank you for contacting us, Can you please confirm that the hooks are not working
   or the setting of the hooks is not visible on the subsites? Also, if the hooks
   are not working can you please list down the hooks which are not working?
 *  Thread Starter [AWOL](https://wordpress.org/support/users/awol/)
 * (@awol)
 * [5 years ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14427931)
 * The settings for the hooks are visible on all 3 sites, and it allows me to add
   and configure hooks, no problem there. But any hook I add and configure on sites
   2 and 3 do not work; specifically the ones I have added are daily visits, publishing
   content and reward for buying (this last one only on site 2). Site 1 has all 
   hooks working, which are daily visits, publishing content, registrations, links
   and referrals. I assume from your answer that hooks are meant to work on subsites,
   so I will continue to look to see if another plugin is causing a conflict.
 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [5 years ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14428591)
 * Hi [@awol](https://wordpress.org/support/users/awol/),
 * It should be working on all the sites but if it’s not working for you then we
   will be testing it on our staging environment and we will get back to you with
   the details.
 * Thanks!
 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [5 years ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14466620)
 * Hi [@awol](https://wordpress.org/support/users/awol/),
 * Thanks for your patience, You must have enabled the central logging option. Basically
   what central logging does is that it makes only one table in the database that’s
   why the same log is displayed on every site when central logging is disabled 
   it makes an individual table in the database for every site.
 * Once the log is created the user cannot get the point again because at first,
   it checks that the log is already created or not.
 *  Thread Starter [AWOL](https://wordpress.org/support/users/awol/)
 * (@awol)
 * [5 years ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14473912)
 * I understand, I think, the central logging, but I have some different hooks set
   up on the subsites that are not awarding points; that is what my question is 
   about. As I understood it, if a user carried out an action on any of the three
   sites that has a hook set up on that site, the points are awarded and logged 
   indicating which site they did the action, in a single log that covers all subsites,
   but that isn’t happening – only actions carried out on the main site are getting
   points and being logged. If you are telling me that central logging only allows
   hooks on the main site then that is a different thing, but it would be good if
   that was made clear in the documentation, but surely that isn’t the case?
 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [5 years ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14489605)
 * Hi [@awol](https://wordpress.org/support/users/awol/),
 * At the moment the functionality you are looking for is not available but you 
   can add the suggestion [here ](https://app.productstash.io/mycred)our technical
   team will review it and if they approve it we will be including it in one of 
   the upcoming updates.
 * Thanks!
 *  Thread Starter [AWOL](https://wordpress.org/support/users/awol/)
 * (@awol)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14573925)
 * I have only just seen your last response, so apologies for the delay. I am still
   confused so can you just answer the following questions Yes or No.
    1. Are hooks
   set up on sub sites meant to work? 2. If the answer to 1 is Yes, are they meant
   to be limited to actions taken on the particular sub site? 3. If the answer to
   1 is No, shouldn’t the capability of setting up hooks on sub sites be removed?
   4. Are hooks set up on the main site meant to work on whichever part of the network
   those actions are carried out? (e.g. publishing a post)
 * Your answers will help me work out if the plugin is working as it should on my
   site, or whether I need to find a conflict causing it not to work as it should.
   Your documentation and answers on here are not very clear to me.
 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14579655)
 * Hi [@awol](https://wordpress.org/support/users/awol/),
 * 1. Are hooks set up on sub-sites meant to work?
    Ans: Yes.
 * 2. If the answer to 1 is Yes, are they meant to be limited to actions taken on
   the particular subsite?
    Ans: Yes, they are meant to be limited to actions on
   each of the particular subsites.
 * 3. Are hooks set up on the main site meant to work on whichever part of the network
   those actions are carried out? (e.g. publishing a post)`
 * Ans: If you enable the master template your main site hooks will work on all 
   of the networks otherwise each of the networks will have its own hooks working.
    -  This reply was modified 4 years, 11 months ago by [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/).
 *  Thread Starter [AWOL](https://wordpress.org/support/users/awol/)
 * (@awol)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14581576)
 * OK thank you, that clarifies things for me. Just one minor point, your terminology
   in the answer to question 3 is a little confusing; I assume you mean ‘sub sites’
   when you write ‘networks’?
 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14588870)
 * Hi [@awol](https://wordpress.org/support/users/awol/),
 * Networks mean sub-sites here.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Multisite/Network and Hooks’ is closed to new replies.

 * ![](https://ps.w.org/mycred/assets/icon-128x128.gif?rev=3512531)
 * [Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program - myCred](https://wordpress.org/plugins/mycred/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mycred/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mycred/)
 * [Active Topics](https://wordpress.org/support/plugin/mycred/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mycred/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mycred/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/multisite-network-and-hooks/#post-14588870)
 * Status: resolved