Skip to content

mc_heading_level

github-actions[bot] edited this page May 15, 2026 · 4 revisions

Main heading level. Default h2.

Auto-generated Example

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

Parameters

  • {string} $hlevel Main heading level.
  • {string} $format Current view format.
  • {string} $time Current view time frame.
  • {string} $template Current view template.

Returns

{string}

Files

apply_filters( 'mc_heading_level', 'h2', $params['format'], $params['time'], $template )

← All Hooks

Clone this wiki locally