mc_event_post_content - joedolson/my-calendar GitHub Wiki
Filter single event content prior to running shortcodes.
Auto-generated Example
add_filter(
'mc_event_post_content',
function(
string $new_content,
string $content,
WP_Post $post
) {
// Your code here.
return $new_content;
},
10,
3
);
Parameters
string$new_contentEvent content with event shortcode appended.string$contentOriginal event content.WP_Post$postPost object.
Returns
string
Files
apply_filters( 'mc_event_post_content', $new_content, $content, $post )