Friends::check_dependencies()

Dependency check for this CLI command.


Source Source

File: cli/src/friends.php

	public static function check_dependencies() {
		parent::check_dependencies();

		if ( ! bp_is_active( 'friends' ) ) {
			WP_CLI::error( 'The Friends component is not active.' );
		}
	}


Top ↑

User Contributed Notes User Contributed Notes

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