Form_Manager::delete_from_db( int $form_id )

Internal method to delete a form from the database.

Description

See also

Parameters

$form_id

(int) (Required) ID of the form to delete.

Return

(bool) True on success, or false on failure.

Source

File: src/db-objects/forms/form-manager.php

	protected function delete_from_db( $form_id ) {
		return (bool) wp_delete_post( $form_id, true );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.