src/class-options-page.php
public function print_notice_when_no_notifiers_active() {
		if (
			'settings_page_soter' !== get_current_screen()->base
			|| $this->options->email_enabled
			|| $this->options->slack_enabled
		) {
			return;
		}

		echo $this->template->render( 'admin-notice.php', [ // WPCS: XSS OK.
			'type' => 'error',
			'message' => 'All notification channels are currently disabled. Please enable one or more below.',
		] );
	}
public function print_notice_when_no_notifiers_active() {
		if (
			'settings_page_soter' !== get_current_screen()->base
			|| $this->options->email_enabled
			|| $this->options->slack_enabled
		) {
			return;
		}

		echo $this->template->render( 'admin-notice.php', [ // WPCS: XSS OK.
			'type' => 'error',
			'message' => 'All notification channels are currently disabled. Please enable one or more below.',
		] );
	}
public function print_notice_when_no_notifiers_active ( ) { if ( 'settings_page_soter' !== get_current_screen ( ) -> base || $ this -> options -> email_enabled || $ this -> options -> slack_enabled ) { return ; } echo $ this -> template -> render ( 'admin-notice.php' , [ // WPCS: XSS OK. 'type' => 'error' , 'message' => 'All notification channels are currently disabled. Please enable one or more below.' , ] ) ; }
Print an admin notice indicating to user that no notifiers are currently enabled.

@return void
Print an admin notice indicating to user that no notifiers are currently enabled .