coreactivity_change_logging_status

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
function coreactivity_change_logging_status( bool $status );
Arguments
Name
Type
Description
bool $status
mixed
Function argument; see the description below.
Returns
See the description below.

Enables or disables the main logging switch and saves the setting. Pass true to enable logging or false to disable it. The function returns void.

Defined in core/functions.php. Call the function after coreActivity has loaded.

Example

coreactivity_change_logging_status( false );
Rate this reference
0
0
4

You are not allowed to rate this post.

Leave a Comment

0
0
0
0
0
0
0
0
0