• Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hooks

Namespaces

  • None
  • SIW
    • Admin
    • API
    • Async
    • Batch
    • Compatibility
    • Data
    • Elements
    • Email
    • External
    • Forms
    • Modules
    • Newsletter
    • Page_Builder
    • Plato
    • Widgets
    • WooCommerce
      • Admin
      • Checkout
      • Email
      • Export
      • Frontend
      • Import

Classes

  • Admin
  • Admin_Bar
  • Notices
  • Options_Page
  • Properties_Page
  • Shortcodes
  • User_Columns

Class Notices

Admin notices

Namespace: SIW\Admin
Copyright: 2019 SIW Internationale Vrijwilligersprojecten
Since: 3.0.0
Located at admin/notices.php

Methods summary

public
# __construct( )

Constructor

Constructor

protected
# set_transient_name( )

Zet de gebruikersspecifieke naam van de tansient

Zet de gebruikersspecifieke naam van de tansient

public static
# init( )

Init

Init

public
# display_notices( )

Toont admin notices

Toont admin notices

public
# add_notice( string $type, string $message, boolean $dismissable = false )

Voegt admin notice toe

Voegt admin notice toe

Parameters

$type
success|info|error|warning
$message
$dismissable
protected
# clear_notices( )

Verwijdert alle notices

Verwijdert alle notices

protected array
# get_notices( )

Haalt notices op

Haalt notices op

Returns

array
protected
# set_notices( array $notices )

Slaat notices op

Slaat notices op

Parameters

$notices

Properties summary

protected string $transient_name

Transient naam

Transient naam

#
protected array $types

Toegestane notice types

Toegestane notice types

# [ 'success', 'info', 'warning', 'error' ]
SIW API documentation generated by ApiGen