Support » Networking WordPress » Same function, individual parameters on multisite?

  • Hi everybody,

    we’re thinking about switching from several individual wordpress blogsites to one multisite, with one single theme for all the multisite blogs. As far as I get it up to now, this means that there will be only one functions.php for all sites. This leads to a problem for which I need some helpful ideas.
    Now, I am planning a scheduled task in the functions.php which updates some stuff for each blog from a database once daily. The database connection uses an individual ID for each blog to retrieve the correct dataset. This ID ist stored in the options table of each blog and retrieved with get_option(my_code).
    Now my question: is it possible to use one and the same function on a multisite for updating each blog, and just call it with different parameters? I would be grateful for any help.

    Evi Silvia

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Same function, individual parameters on multisite?’ is closed to new replies.