function addOptions() {
		if ( is_array( $this->options ) )
			extract( $this->options, EXTR_SKIP );

		global $themecolors;

		if ( empty($bg) )
			$bg = isset( $themecolors['bg'] ) ? $themecolors['bg'] : 'transparent';
		if ( empty($fg) )
			$fg = isset( $themecolors['text'] ) ? $themecolors['text'] : '000000';

		if ( empty( $method ) )
			$method = 'Automattic_Latex_WPCOM';

		if ( empty( $css ) )
			$css = 'img.latex { vertical-align: middle; border: none; background: none; }';

		if ( empty( $wrapper ) )
			$wrapper = false;

		$this->options = compact( 'bg', 'fg', 'method', 'css', 'wrapper' );
		update_option( 'pb_latex', $this->options );
	}
function addOptions() {
		if ( is_array( $this->options ) )
			extract( $this->options, EXTR_SKIP );

		global $themecolors;

		if ( empty($bg) )
			$bg = isset( $themecolors['bg'] ) ? $themecolors['bg'] : 'transparent';
		if ( empty($fg) )
			$fg = isset( $themecolors['text'] ) ? $themecolors['text'] : '000000';

		if ( empty( $method ) )
			$method = 'Automattic_Latex_WPCOM';

		if ( empty( $css ) )
			$css = 'img.latex { vertical-align: middle; border: none; background: none; }';

		if ( empty( $wrapper ) )
			$wrapper = false;

		$this->options = compact( 'bg', 'fg', 'method', 'css', 'wrapper' );
		update_option( 'pb_latex', $this->options );
	}
function addOptions ( ) { if ( is_array ( $ this -> options ) ) extract ( $ this -> options , EXTR_SKIP ) ; global $ themecolors ; if ( empty ( $ bg ) ) $ bg = isset ( $ themecolors [ 'bg' ] ) ? $ themecolors [ 'bg' ] : 'transparent' ; if ( empty ( $ fg ) ) $ fg = isset ( $ themecolors [ 'text' ] ) ? $ themecolors [ 'text' ] : '000000' ; if ( empty ( $ method ) ) $ method = 'Automattic_Latex_WPCOM' ; if ( empty ( $ css ) ) $ css = 'img.latex { vertical-align: middle; border: none; background: none; }' ; if ( empty ( $ wrapper ) ) $ wrapper = false ; $ this -> options = compact ( 'bg' , 'fg' , 'method' , 'css' , 'wrapper' ) ; update_option ( 'pb_latex' , $ this -> options ) ; }
Sets up default options
Sets up default options