mc_legacy_templates_enabled - joedolson/my-calendar GitHub Wiki

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