Skip to content

mc_shortcode_generator

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

Inject custom shortcode generator output. Handles custom shortcode generation.

Auto-generated Example

add_filter(
   'mc_shortcode_generator',
    function(
        {string} $output,
        {string} $post
    ) {
        // Your code here.
        return $output;
    },
    10,
    2
);

Parameters

  • {string} $output Output from handling a POST request.
  • {string} $post $_POST input.

Returns

{string|array}

Files

apply_filters( 'mc_shortcode_generator', '', $_POST )

← All Hooks

Clone this wiki locally