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>
15 lines
282 B
PHP
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' );
|
|
}
|
|
}
|