Skip to content
Snippets Groups Projects
Select Git revision
  • deee969042d4643c1571bd880ad338ca6516ea7d
  • master default protected
  • devel
  • feature/add-escaping-to-templates
  • feature/add-priority-sorting
  • 3.3.2
  • 3.3.1
  • 3.3.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.4.12
  • 2.4.11
  • 2.4.10
  • 2.4.9
  • 2.4.8
  • 2.4.7
  • 2.4.6
  • 2.4.5
  • 2.4.4
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3.2
25 results

WyswigField.php

Blame
  • functions.php 762 B
    <?php
    
    /**
     * Creates Notice.
     *
     * @param $noticeContent
     * @param string $noticeType
     * @param bool $isDismissible
     * @param int $priority
     *
     * @return \WPDesk\Notice\Notice
     */
    function WPDeskNotice($noticeContent, $noticeType = 'info', $isDismissible = false, $priority = 10)
    {
        return \WPDesk\Notice\Factory::notice($noticeContent, $noticeType, $isDismissible, $priority);
    }
    
    /**
     * Creates Notice.
     *
     * @param $noticeContent
     * @param string $noticeType
     * @param bool $isDismissible
     * @param int $priority
     *
     * @return \WPDesk\Notice\Notice
     */
    function WPDeskPermanentDismissibleNotice($noticeContent, $noticeType = 'info', $priority = 10)
    {
        return \WPDesk\Notice\Factory::permanentDismissibleNotice($noticeContent, $noticeType, $priority);
    }