Deletes containers with specific IDs.
Description
See also
Parameters
- $container_ids
-
(array) (Required) Array of container IDs.
Source
File: src/db-objects/forms/form-edit-page-handler.php
private function delete_containers( $container_ids ) { $container_manager = $this->form_manager->get_child_manager( 'containers' ); foreach ( $container_ids as $container_id ) { $container = $container_manager->get( $container_id ); if ( ! $container ) { continue; } $container->delete(); } }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |