Files
peptide-news-plugin/includes/class-peptide-news-deactivator.php
github-actions[bot] 5d4e73b947 Deploy 6796121 from main
2026-04-12 10:29:18 +00:00

15 lines
282 B
PHP

<?php
/**
* 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() {
wp_clear_scheduled_hook( 'peptide_news_cron_fetch' );
}
}