https://t.me/ARX49
Server : LiteSpeed
System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : apotdzgr ( 7060)
PHP Version : 8.0.30
Disable Function : NONE
Directory :  /home/apotdzgr/public_html/wp-content/plugins/loco-translate/src/error/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/apotdzgr/public_html/wp-content/plugins/loco-translate/src/error/Success.php
<?php
/**
 * Success message. Not really an exception obviously, but compatible with Loco_error_AdminNotices
 */
class Loco_error_Success extends Loco_error_Exception {

    /**
     * {@inheritdoc}
     */
    public function getType(){
        return 'success';
    }


    /**
     * {@inheritdoc}
     */
    public function getTitle(){
        return __('OK','loco-translate');
    }


    /**
     * {@inheritdoc}
     */
    public function getLevel(){
        return Loco_error_Exception::LEVEL_NOLOG;
    }


    /**
     * {@inheritDoc}
     */
    public function logCli(){
        WP_CLI::success( $this->getMessage() );
    }

}


https://t.me/ARX49 - 2025