mc_filter_shortcodes

Use this filter to create new, custom template tags usable by all of your My Calendar templating.

Details

File: my-calendar-templates.php

Code: $details = apply_filters( 'mc_filter_shortcodes',$details,$event );

Since: 2.1.0

Example

				
				

add_filter( 'mc_filter_shortcodes', 'my_function', 10, 2 );
function my_function( $details, $event ) {
// insert a new template tag into the event template array.
$details['custom_tag'] = "Magically insert this text using {custom_tag}";
return $details;
}

,