WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Use multisite function in custom class function. (3 posts)

  1. w1nk5
    Member
    Posted 3 years ago #

    I am trying to use get_id_from_blogname(get_bloginfo('name')) inside of a function of a custom class I have created.

    The get_id_from_blogname function however is not returning anything.

    Any ideas?

  2. w1nk5
    Member
    Posted 3 years ago #

    Nevermind. I just declared global $blog_id and got it that way.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.