<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

class Trendly_AI_Post_Deactivator {
    public static function deactivate() : void {
        // Unschedule cron
        $timestamp = wp_next_scheduled( 'trendly_ai_post_cron' );
        if ( $timestamp ) {
            wp_unschedule_event( $timestamp, 'trendly_ai_post_cron' );
        }
    }
}
