Skip to content

mc_legacy_templates_enabled

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

Filter legacy templates status. New templates are intended for release with version 3.5.0 and will be in alpha at least through then.

Auto-generated Example

add_filter(
   'mc_legacy_templates_enabled',
    function( bool ) {
        // Your code here.
        return bool;
    }
);

Parameters

  • bool $enabled Return 'true' to use legacy templates. Other variable names: $legacy

Returns

bool

Files

apply_filters( 'mc_legacy_templates_enabled', $legacy )

← All Hooks

Clone this wiki locally