Skip to content

mc_output_is_visible

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

Filter whether any given piece of information should be output.

Auto-generated Example

add_filter(
   'mc_output_is_visible',
    function(
        bool $return,
        string $feature,
        string $type,
        object|boolean $event
    ) {
        // Your code here.
        return $return;
    },
    10,
    4
);

Parameters

  • bool $return Should this piece of data be output.
  • string $feature Feature key.
  • string $type Type of view.
  • object|boolean $event Event object if in event context.

Returns

bool

Files

apply_filters( 'mc_output_is_visible', $return, $feature, $type, $event )

← All Hooks

Clone this wiki locally