Skip to content

mc_display_format

Joe Dolson edited this page May 15, 2026 · 4 revisions

Filter the display format.

Auto-generated Example

add_filter(
   'mc_display_format',
    function(
        {string},
        {array} $args
    ) {
        // Your code here.
        return {string};
    },
    10,
    2
);

Parameters

  • {string} $format Current view format. E.g. 'calendar', 'list', 'card' or 'mini'. Other variable names: $format
  • {array} $args Calendar view arguments.

Returns

{string}

Files

apply_filters( 'mc_display_format', $format, $args )

← All Hooks

Clone this wiki locally