Module::add_hooks()

Adds the service hooks.

Description

See also

Source

File: src/modules/evaluators/module.php

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

		return parent::add_hooks();
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.