Skip to content

mc_subheading_level

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

Filter subheading levels inside event content.

Auto-generated Example

add_filter(
   'mc_subheading_level',
    function(
        string,
        string $type,
        string $time,
        string $template
    ) {
        // Your code here.
        return string;
    },
    10,
    4
);

Parameters

  • string $el Element name. Default 'h4' in grouped templates, h2 on single templates. Other variable names: $sublevel
  • string $type View type.
  • string $time View timeframe.
  • string $template Current template.

Files

apply_filters( 'mc_subheading_level', $sublevel, $type, $time, 'php' )
apply_filters( 'mc_subheading_level', $sublevel, 'php', '', '' )

← All Hooks

Clone this wiki locally