Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Get The ID For Use With get_user_meta For All Admins Of All MS Sub Sites

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #251616
    braddalton
    Participant

    I’m using custom user_contactmethods for the input of business address details and get_user_meta for the output in a page template which requires a $user id

    I’d like to use the id for the site admin for each sub site so each sub site admin can add custom business details to their profile page.

    Not sure how to get the i.d for all the admins of all sub sites.

    $user = $;
    
    get_user_meta( $user->ID, 'name', true ) ;
    
Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.