BP_Blogs_Component::includes( array $includes = array() )

Include bp-blogs files.


Description Description

See also See also


Top ↑

Parameters Parameters

$includes

(array) (Optional) See BP_Component::includes().

Default value: array()


Top ↑

Source Source

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

	public function includes( $includes = array() ) {

		// Files to include.
		$includes = array(
			'cache',
			'template',
			'filters',
			'functions',
		);

		if ( bp_is_active( 'activity' ) ) {
			$includes[] = 'activity';
		}

		if ( is_multisite() ) {
			$includes[] = 'widgets';
		}

		// Include the files.
		parent::includes( $includes );
	}


Top ↑

User Contributed Notes User Contributed Notes

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