post_type !== $post->post_type) { return; } if ($newStatus === $oldStatus) { return; } glsr(Cache::class)->delete('monthly', 'count'); } /** * @action wp_dashboard_setup */ public function registerMetaBoxes(): void { glsr(DashboardMetabox::class)->register(); } }