Skip to content

mc_api_auto_date

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

Default date for API 'to' parameter. Default '+ 7 days'.

Auto-generated Example

add_filter(
   'mc_api_auto_date',
    function( string $time ) {
        // Your code here.
        return $time;
    }
);

Parameters

  • string $time A time string convertable using strtotime.

Returns

string

Files

apply_filters( 'mc_api_auto_date', $range )

← All Hooks

Clone this wiki locally