post_type ) { return; } if ( ! PremiumClassGuard::exists( self::PREMIUM_SERVICE ) ) { return; } \AIPT\Premium\AutomationJobs\Services\AutoOnPublishService::dispatch( (int) $post->ID, (string) $old_status ); } }