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

Constructor method.


Description Description


Parameters Parameters

$id

(Optional) The ID of the blog.

Default value: null


Top ↑

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.