Notification::check_dependencies()
Dependency check for this CLI command.
Source Source
File: cli/src/notification.php
public static function check_dependencies() { parent::check_dependencies(); if ( ! bp_is_active( 'notifications' ) ) { WP_CLI::error( 'The Notification component is not active.' ); } }
Expand full source code Collapse full source code View on Trac