Need help with this?
Purchase All in One SEO Pack Pro to get dedicated support from us.

Buy Now

The All in One SEO Pack aioseop admin notice $slug filter hooks.


$notice_data = apply_filters( ‘aioseop_admin_notice-‘ . $slug, array() );

Our aioseop_admin_notice_$slug filter hooks can be used to adjust the configuration data of the notices that All in One SEO Pack generates. These filters are meant for internal purposes, but other plugins can use these API hooks to, for example, add more information to a notice.

A few examples of notices that All in One SEO Pack can generate are:

  • aioseop_admin_notice-sitemap_max_warning
  • aioseop_admin_notice-blog_public_disabled
  • aioseop_admin_notice-review_plugin
  • aioseop_admin_notice-woocommerce_detected

We encourage plugin developers to browse through our codebase to discover other instances of notices.

Parameters (1)

contains the configuration data of the notice.

Defined (1)

The filter is defined in the following location(s).

  • admin/class-aioseop-notices.php

This hook was added in version 3.0 of All in One SEO Pack.

For instructions on how to use this code, please refer to our FAQ here.

  • Was this helpful ?
  • YesNo