\WP_Stager_Integration\Calendar::component_no_events_message(array $args = array()): void

Description

Renders a no events message.

Parameters:

ParameterTypeDescription
$args array (Optional) Additional arguments to pass to the component template.

Returns:

void

Information

Fileclass-calendar.php line 1991

Full Code

/**
 * Renders a no events message.
 *
 * @param array $args       (Optional) Additional arguments to pass to the component template.
 *
 * @return void
 */
public static function component_no_events_message( $args = array() ) {

    // Type casting
    $args = (array) $args;

    self::render_calendar_component( 'no-events-message', $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!