apply_filters('wpstagerintegration_calendar_label_day', $default, int $timestamp, array $args): string

Description

Filters the default calendar "day" label text.

Parameters:

ParameterTypeDescription
$label string The label text
$timestamp int A Unix timestamp of the start of the day (00:00:00 in the site's timezone)
$args array Additional arguments passed to the component template.

Returns:

string Must return a string

Information

Fileclass-calendar.php line 290

Full Code

/**
 * Filters the default calendar "day" label text.
 *
 * @param string    $label      The label text
 * @param int       $timestamp  A Unix timestamp of the start of the day (00:00:00 in the site's timezone)
 * @param array     $args       Additional arguments passed to the component template.
 *
 * @return string   Must return a string
 */
$label = (string) apply_filters( 'wpstagerintegration_calendar_label_day', $default, $timestamp, $args )

💡 If you ever get stuck or have a question, please check our FAQs, our Free Integration Service, our paid Full Integration Service, or reach out to us!

Get WP Stager Integration

🎁 Limited offer: Use code WELCOME26 to get your first month for free!