Title: Get Variable Value from Plugin
Last modified: August 20, 2016

---

# Get Variable Value from Plugin

 *  [jaggreene](https://wordpress.org/support/users/jaggreene/)
 * (@jaggreene)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/get-variable-value-from-plugin/)
 * Hi,
 * I am trying to use a plugin.
 * It is a simple plugin that you go to on the backend of wordpress and enter a 
   value into a text box.
 * i want to be able to query the value from the textbox.
 * Essentially I want to create a template tag, so if I input values into the textboxes
   I can call those values through the theme.
 * I have looked through the codex, but all it told was to write a function and 
   call it as a template tag.
 * In the plugin there is a line
 * `<input name="ai_video_curator_option1" type="text" id="ai_video_curator_option1"
   size="45" value="<?php echo $this->options['ai_video_curator_option1'] ;?>"/>`
 * I want to display the value of ai_video_curator_option1
 * I tried `<?php if ( isset($ai_video_curator) ) $ai_video_curator('ai_video_curator_option1');?
   >`
 * for the template tag, but that did not work.
 * Thanks for any help, this one seems simple, but I am missing something

The topic ‘Get Variable Value from Plugin’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [jaggreene](https://wordpress.org/support/users/jaggreene/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/get-variable-value-from-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
