coreactivity_change_event_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_event_status( string $component, string $event, string $status );
Arguments
Name
Type
Description
string $component
mixed
Function argument; see the description below.
string $event
mixed
Function argument; see the description below.
string $status
mixed
Function argument; see the description below.
Returns
See the description below.

Changes the registered event's status to active or inactive. It returns false if the status is invalid or the event cannot be found; otherwise it requests the update and returns true.

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

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