Components::verify_component_status( string $component_key )

Verify Component Status.


Parameters Parameters

$component_key

(string) (Required) Component key.


Top ↑

Return Return

(string)


Source Source

File: cli/src/components.php

	protected function verify_component_status( $component_key ) {
		$active = 'active';

		if ( 'core' === $component_key ) {
			return $active;
		}

		return bp_is_active( $component_key ) ? $active : 'inactive';
	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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