Advertisement
Guest User

WP-Footnotes improvement - 1

a guest
Sep 27th, 2011
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 KB | None | 0 0
  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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement