sources/colors.php
/**
     * Message colors lists
     *
     * @return array
     * @access public
     */
Message colors lists
@return array
@access public
Message colors lists @return array @access public
function silverwp_get_messages_color() {
        $colors = array(
            array(
                'value' => 'alert-info',
                'label' => \SilverWp\Translate::translate( 'Informational' ),
            ),
            array(
                'value' => 'alert-warning',
                'label' => \SilverWp\Translate::translate( 'Warning' ),
            ),
            array(
                'value' => 'alert-success',
                'label' => \SilverWp\Translate::translate( 'Success' ),
            ),
            array(
                'value' => 'alert-danger',
                'label' => \SilverWp\Translate::translate( 'Error' ),
            ),
            array(
                'value' => 'custom',
                'label' => \SilverWp\Translate::translate( 'Custom' ),
            ),
        );
        return $colors;
    }
function silverwp_get_messages_color ( ) { $ colors = array ( array ( 'value' => 'alert-info' , 'label' => \ SilverWp \ Translate :: translate ( 'Informational' ) , ) , array ( 'value' => 'alert-warning' , 'label' => \ SilverWp \ Translate :: translate ( 'Warning' ) , ) , array ( 'value' => 'alert-success' , 'label' => \ SilverWp \ Translate :: translate ( 'Success' ) , ) , array ( 'value' => 'alert-danger' , 'label' => \ SilverWp \ Translate :: translate ( 'Error' ) , ) , array ( 'value' => 'custom' , 'label' => \ SilverWp \ Translate :: translate ( 'Custom' ) , ) , ) ; return $ colors ; }
Message colors lists
 @return array
 @access public
Message colors lists @return array @access public