Description

This function returns the value of a single teachPress option.

Usage

$option = get_tp_option( $var );

Parameters

variable

(string) The name of the variable. Possible values are: sem, db-version, sign_out, login, regnum, studies, termnumber, birthday

Return

(string)

The value of the variable.

Example

echo get_tp_option('db-version');

Changelog

  • Since: 1.0.0