Skip to content

mc_event_post_content

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

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_content Event content with event shortcode appended.
  • string $content Original event content.
  • WP_Post $post Post object.

Returns

string

Files

apply_filters( 'mc_event_post_content', $new_content, $content, $post )

← All Hooks

Clone this wiki locally