BP_Blogs_Blog::__construct( int|null $id = null )

Constructor method.


Parameters Parameters

$id

(int|null) (Optional) The ID of the blog.

Default value: null


Source Source

File: bp-blogs/classes/class-bp-blogs-blog.php

	public function __construct( $id = null ) {
		if ( !empty( $id ) ) {
			$this->id = (int) $id;
			$this->populate();
		}
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.