FS_Admin_Notice_Manager
Description Description
Source Source
File: includes/pum-sdk/freemius/includes/managers/class-fs-admin-notice-manager.php
Expand full source code Collapse full source code View on Trac
Methods Methods
- __construct
- _add_sticky_dismiss_javascript — Rendered sticky message dismiss JavaScript.
- _admin_notices_hook — Handle admin_notices by printing the admin messages stacked in the queue.
- _enqueue_styles — Enqueue common stylesheet to style admin notice.
- add — Add admin message to admin messages queue, and hook to admin_notices / all_admin_notices if not yet hooked.
- add_sticky — Adds sticky admin notification.
- clear_all_sticky — Clear all sticky messages.
- dismiss_notice_ajax_callback — Remove sticky message by ID.
- get_notices_type
- has_sticky — Check if sticky message exists by id.
- has_sticky_messages — Hook to the admin_footer to add sticky message dismiss JavaScript handler.
- instance
- is_gutenberg_page — Check if the current page is the Gutenberg block editor.
- remove_sticky