EDD_Stripe_Admin_Notices_Registry::add( string $notice_id, array $notice_args )

Adds a new notice.


Description Description


Parameters Parameters

$notice_id

(Required) Unique notice ID.

$notice_args

(Required) Arguments for adding a new notice.

  • 'message'
    (string|callable) Notice message or a callback to retrieve it.
  • 'type'
    (string) Notice type. Accepts 'success', 'info', 'warning', 'error'. Default 'success'.
  • 'dismissible'
    (bool) Detrmines if the notice can be hidden for the current install. Default true


Top ↑

Return Return

(true)


Top ↑

Source Source

File: includes/gateways/stripe/includes/admin/class-notices-registry.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.19 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.