Form_Manager::add_hooks()

Adds the service hooks.

Description

See also

Source

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

	public function add_hooks() {
		if ( ! $this->hooks_added ) {
			add_shortcode( "{$this->get_prefix()}form", array( $this->frontend_output_handler, 'get_shortcode_content' ) );
			add_shortcode( 'form', array( $this->frontend_output_handler, 'get_deprecated_shortcode_content' ) );
		}

		return parent::add_hooks();
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.