File "Warning.php"
Full Path: /home/flipjqml/onlinebetsolution.com/wp-content/plugins/disable-search/src/error/Warning.php
File size: 572 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Generic warning
*/
class Loco_error_Warning extends Loco_error_Exception {
/**
* {@inheritdoc}
*/
public function getType(){
return 'warning';
}
/**
* {@inheritdoc}
*/
public function getTitle(){
return __('Warning','loco-translate');
}
/**
* {@inheritdoc}
*/
public function getLevel(){
return Loco_error_Exception::LEVEL_WARNING;
}
/**
* {@inheritDoc}
*/
public function logCli(){
WP_CLI::warning( $this->getMessage() );
}
}