post_type === 'hssm_slide' ); $confirmed = false; $error_message = ''; // Handle confirmation action if ( $is_valid_slide && isset( $_POST['confirm_live_action'] ) && $_POST['confirm_live_action'] === 'confirm' ) { if ( wp_verify_nonce( $_POST['hssm_live_nonce'], 'hssm_confirm_live_action' ) ) { // Trigger the final notification if ( class_exists( 'HSSM_Notifications' ) ) { $notifications = new HSSM_Notifications(); $notifications->notify_all_confirmed_live( $slide_id ); // Mark as confirmed in metadata update_post_meta( $slide_id, '_hssm_live_confirmed', current_time( 'timestamp' ) ); $confirmed = true; } else { $error_message = 'Notification system not available.'; } } else { $error_message = 'Security check failed. Please refresh and try again.'; } } ?>

Invalid Slide

The slide you are trying to confirm could not be found.

Return Home

Confirmation Sent!

Thank you!

Notifications have been sent to the Editor and Creator confirming that "post_title ); ?>" is Live.

Return Home

Confirm Slide is Live

post_title ); ?>

'names' ) ); if ( ! empty( $target_sites ) ) { echo '

Target Sites: ' . esc_html( implode( ', ', $target_sites ) ) . '

'; } ?>

I confirm that the slide "post_title ); ?>" is Live and displaying correctly on the target sites.