akismet_admin_page_hook_suffixes
Filter HookDescription
List of pages where activation banner should be displayed.Hook Information
File Location |
wp-content/plugins/akismet/class.akismet-admin.php
View on GitHub
|
Hook Type | Filter |
Line Number | 150 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into akismet_admin_page_hook_suffixes
add_filter('akismet_admin_page_hook_suffixes', 'my_custom_filter');
function my_custom_filter() {
// Your custom filtering logic here
return 'modified_value';
}
Source Code Context
wp-content/plugins/akismet/class.akismet-admin.php:150
- How this hook is used in WordPress core
<?php
145 public static function load_resources() {
146 global $hook_suffix;
147
148 if ( in_array(
149 $hook_suffix,
150 apply_filters(
151 'akismet_admin_page_hook_suffixes',
152 array_merge(
153 array(
154 'index.php', // dashboard
155 'comment.php',
PHP Documentation
<?php
/**
* List of pages where activation banner should be displayed.
*
* @var array
*/
Quick Info
- Hook Type: Filter
- Parameters: 0
- File: wp-content/plugins/akismet/class.akismet-admin.php
Related Hooks
Related hooks will be displayed here in future updates.