coreactivity_user_meta_fields_to_monitor

Developer Knowledge Level

This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!

Definition
apply_filters( "coreactivity_user_meta_fields_to_monitor", $this->monitor );
Arguments
Name
Type
Description
$this->monitor
array
name of the meta fields to monitor, by default is array with common WordPress user meta fields.
Returns
Return the filtered value.

Filters the user metadata keys selected for monitoring. The configured exception list is applied separately.

Filters a value in init() in core/components/User.php. This hook is called at line 117 in the current plugin source.

The call in the plugin source shows the argument order and the value supplied at this point.

apply_filters( 'coreactivity_user_meta_fields_to_monitor', $this->monitor );
Rate this reference
0
0
3

You are not allowed to rate this post.

Leave a Comment

0
0
0
0
0
0
0
0
0