Skip to content

mc_is_tablet

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

Add custom logic to detect tablet environments for My Calendar.

Auto-generated Example

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

Parameters

  • bool $tablet true if mobile user agent detected. Default false.

Returns

bool

Files

apply_filters( 'mc_is_tablet', false )

← All Hooks

Clone this wiki locally