WordPress plugin intelligence profile

Notices API

The simple Notices API currently missing in WordPress.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.9
Current version1.0
WordPress coverageTested up to WordPress 3.9
Minimum stackWP 3.0 · PHP —
Directory statusactive
Last directory update9 Aug 201412y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Notices API version 1.0 as active, updated 12y ago and tested up to WordPress 3.9.

Overview

About this plugin

This is a very simple WordPress plugin for creating frontend notices server side or client side. There are 4 notice types by default success, error, warning, general or you can create custom notice types. Server side notices are stored in the session until displayed.

This plugin hopes to one day solve the problem of complex WordPress sites with multiple plugins all having their own Notices that all require styling.

But for now, the Notices API is useful tool for developers creating custom functionality in their theme.

Server Side Usage

>

Client Side Usage

ready(function($){

warning( title, message, scroll_to, timer, callback );

render_notice( type, title, message, scroll_to, timer, callback );

log( $notice ); });

});

Options

add_filter( 'notice_api_options', 'customize_notice_options' );

function customize_notice_options( $options ) { $options = array( 'prepend_selector' => '#content', 'container_class' => 'notices-container', 'before_title' => '<strong>', 'after_title' => ':</strong> ', 'scrolling_speed' => 500, ); return $options; }

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • alerts
  • notices
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.9
Minimum requirementsWordPress 3.0 · PHP not listed
Update activity9 Aug 201412y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.