View difference between Paste ID: TVNgrM7W and
SHOW:
|
|
- or go back to the newest paste.
1 | // INTERNAL HELPERS: @access private | |
2 | /** | |
3 | * Link format. | |
4 | */ | |
5 | private function _getLinkFormat() | |
6 | { | |
7 | return '<a href="%1$s" title="%2$s"%4$s>%3$s</a>'; | |
8 | } | |
9 | ||
10 | ||
11 | /** | |
12 | * Get current options | |
13 | */ | |
14 | private function _getCurrentOption($option = '') | |
15 | { | |
16 | // Base params: | |
17 | $options = (array) $this->current_options; | |
18 | $option = (string) wp_kses($option, array()); | |
19 | ||
20 | return isset($options["{$option}"]) ? $options["{$option}"] : ''; | |
21 | } | |
22 |