\WP_Stager_Integration\Component::render_ticket_shop_order_notices(): void

Description

Render the ticket shop order page notices component.

Returns:

void

Information

Fileclass-component.php line 785

Full Code

/**
 * Render the ticket shop order page notices component.
 *
 * @return void
 */
public static function render_ticket_shop_order_notices() {

    // Get data
    $has_feature_ticket_shops = (bool) Options::has_ticket_shops();

    // Bail if feature is not enabled
    if ( ! $has_feature_ticket_shops ) {
        return;
    }

    // Render the component
    self::render( 'order-page-notices', 'template-parts/shop-widgets', array() );
}

💡 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!