Files
peptide-news-plugin/includes/class-peptide-news-deactivator.php
github-actions[bot] 102104f4dc Deploy b92dc4b from main
2026-04-12 21:22:34 +00:00

16 lines
315 B
PHP
Executable File

<?php
declare( strict_types=1 );
/**
* Fired during plugin deactivation.
*
* Clears scheduled cron events. Does NOT drop tables (data preservation).
*
* @since 1.0.0
*/
class Peptide_News_Deactivator {
public static function deactivate(): void {
wp_clear_scheduled_hook( 'peptide_news_cron_fetch' );
}
}