Skip to content

mc_api_key

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Filter to test access to the event API. Default 'true'.

Auto-generated Example

add_filter(
   'mc_api_key',
    function( bool $api_key ) {
        // Your code here.
        return $api_key;
    }
);

Parameters

  • bool $api_key Return true to allow access. Use filter to control or limit access.

Returns

bool

Files

apply_filters( 'mc_api_key', true )

← All Hooks

Clone this wiki locally