Scaffold::check_dependencies()

Default dependency check for a BuddyPress CLI command.


Source Source

File: cli/src/scaffold.php

	public static function check_dependencies() {
		if ( ! class_exists( 'Buddypress' ) ) {
			WP_CLI::error( 'The BuddyPress plugin is not active.' );
		}
	}

User Contributed Notes User Contributed Notes

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