Forums

[resolved] All id blogs (5 posts)

  1. PennyKing
    Member
    Posted 1 year ago #

    Hello guys,
    I have a problem, i have a lot of blogs with WPMU, and i need to do a query that retrieves all the IDs of my blogs, since the function get_blog_list () is deprecated could you give me a similar function or a solution for my problem?
    Thanks in advance.

  2. Where do you need theses IDs?

  3. Tim Moore
    Code Wrangler
    Posted 1 year ago #

    You could do a custom query on the wp_blogs table for the blog_id attribute. However, they may not be the best solution depending on what you are trying to do.

  4. Andrea_r
    team pirate
    Posted 1 year ago #

    since the function get_blog_list () is deprecated could you give me a similar function

    there isn't a replacement.

  5. PennyKing
    Member
    Posted 1 year ago #

    Hello WPpeople,
    i solved with a custom query wpdb->, TNK for your time.
    Cheers

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags