update_imported_list('posts', $post_id); }); add_action('add_attachment', function ($post_id) { $this->update_imported_list('attachment', $post_id); }); add_action('created_term', function ($term_id, $tt_id, $taxonomy, $args) { $this->update_imported_list('term', [$term_id, $taxonomy]); }, 10, 4); add_action('registered_taxonomy', function ($taxonomy, $object_type, $taxonomy_object) { $this->update_imported_list('taxonomy', $taxonomy); }, 10, 3); add_action('fluentform/form_imported', function ($formId){ $this->update_imported_list('fluentform', $formId); }, 10, 1); } }