Sets the site to operate on. Defaults to the current site.
Parameters
$blog_id
intoptional- Site ID, defaults to current site.
Default:
''
Source
public function for_blog( $blog_id = '' ) {
_deprecated_function( __METHOD__, '4.9.0', 'WP_User::for_site()' );
$this->for_site( $blog_id );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.