Handles the deprecated form shortcode.
Description
See also
Parameters
- $atts
-
(array) (Required) Array of shortcode attributes.
- 'id'
(int) Form ID. This must always be present. - 'show'
(string) How to display the form. Either 'direct' or 'iframe'. Default 'direct'. - 'iframe_width'
(string) If $show is set to 'iframe', this indicates the iframe width. Default '100%'. - 'iframe_height'
(string) If $show is set to 'iframe', this indicates the iframe height. Default '100%'.
- 'id'
Source
File: src/db-objects/forms/form-frontend-output-handler.php
public function get_deprecated_shortcode_content( $atts ) { $this->form_manager->error_handler()->deprecated_shortcode( 'form', '1.0.0-beta.9', "{$this->form_manager->get_prefix()}form" ); return $this->get_shortcode_content( $atts ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |