Skip to content

mc_ical_attributes

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

Filter calendar arguments for iCal output.

Auto-generated Example

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

Parameters

  • array $args Array of calendar query args.
  • array $get GET parameters, sanitized.

Returns

array

Files

apply_filters( 'mc_ical_attributes', $args, map_deep( $_GET, 'sanitize_text_field' ) )

← All Hooks

Clone this wiki locally