Skip to content

mc_show_block

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

Filter the content of an editing block.

Auto-generated Example

add_filter(
   'mc_show_block',
    function(
        string $return,
        object $data,
        string $field,
        bool $has_data
    ) {
        // Your code here.
        return $return;
    },
    10,
    4
);

Parameters

  • string $return HTML output of editing fields.
  • object $data Event object.
  • string $field Field hook.
  • bool $has_data If has data.

Returns

string

Files

apply_filters( 'mc_show_block', $return, $data, $field, $has_data )

← All Hooks

Clone this wiki locally