site_status_autoloaded_options_action_to_perform
Filter HookDescription
Filters actionable information to tackle the problem. It can be a link to an external guide.Hook Information
File Location |
wp-admin/includes/class-wp-site-health.php
View on GitHub
|
Hook Type | Filter |
Line Number | 2686 |
Hook Parameters
Type | Name | Description |
---|---|---|
string
|
$actions
|
Call to Action to be used to point to the right direction to solve the issue. |
Usage Examples
Basic Usage
<?php
// Hook into site_status_autoloaded_options_action_to_perform
add_filter('site_status_autoloaded_options_action_to_perform', 'my_custom_filter', 10, 1);
function my_custom_filter($actions) {
// Your custom filtering logic here
return $actions;
}
Source Code Context
wp-admin/includes/class-wp-site-health.php:2686
- How this hook is used in WordPress core
<?php
2681 *
2682 * @since 6.6.0
2683 *
2684 * @param string $actions Call to Action to be used to point to the right direction to solve the issue.
2685 */
2686 $result['actions'] = apply_filters( 'site_status_autoloaded_options_action_to_perform', $result['actions'] );
2687 return $result;
2688 }
2689
2690 /**
2691 * Returns a set of tests that belong to the site status page.
PHP Documentation
<?php
/**
* Filters actionable information to tackle the problem. It can be a link to an external guide.
*
* @since 6.6.0
*
* @param string $actions Call to Action to be used to point to the right direction to solve the issue.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-admin/includes/class-wp-site-health.php
Related Hooks
Related hooks will be displayed here in future updates.