BP_Core_Notification::__construct( int $id )

Constructor


Parameters Parameters

$id

(int) (Required) ID for the notification.


Source Source

File: bp-core/classes/class-bp-core-notification.php

	public function __construct( $id = 0 ) {

		// Bail if no ID
		if ( empty( $id ) ) {
			return;
		}

		$this->id = absint( $id );
		$this->populate();
	}


Top ↑

User Contributed Notes User Contributed Notes

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