Files
peptide-news-plugin/includes/class-peptide-news-deactivator.php
peptiderepo c885ebf98c fix: convert all PHP files from space indentation to tabs (PHPCS)
WordPress coding standards require tab indentation. All 12 PHP files
in includes/, admin/, and public/ were using 4-space indentation.
Converted to tabs to pass the Generic.WhiteSpace.DisallowSpaceIndent
PHPCS rule. Whitespace-only change — no logic modifications.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 17:03:55 +07: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' );
}
}