layouts_cpt_save_actions = $layouts_cpt_save_actions; $this->post_selections_cpt_save_actions = $post_selections_cpt_save_actions; } public function introduced_version(): string { return '2.2.3'; } public function migrate_previous_version(): void { // related Views/Cards in post_content_filtered appeared, filled during the save action. self::add_action( 'acf/init', function (): void { $this->layouts_cpt_save_actions->perform_save_actions_on_all_posts(); $this->post_selections_cpt_save_actions->perform_save_actions_on_all_posts(); } ); } }