'green', // The color of the note's border 'notification' => false, 'paragraph' => true, ); /* * Display for options and meta */ public function display() { $this->echoOptionHeader(); $color = $this->settings['color'] == 'green' ? '' : 'error'; if ( $this->settings['notification'] ) { ?>
settings['paragraph'] ) { echo "

"; } echo $this->settings['desc']; if ( $this->settings['paragraph'] ) { echo '

'; } if ( $this->settings['notification'] ) { ?>
settings['name'] == 'Alerts' ) { foreach ( $this->owner->owner->get_alert_messages() as $message ) { echo '

- ' . $message . '

'; } } $this->echoOptionFooter( false ); } }