[wp-hackers] Passing info between shotcodes

Daiv Mowbray daiv at daivmowbray.com
Sun Feb 8 19:49:42 GMT 2009

I do something similar :

// in the short code function, opdate options if any changes with  
// you could simply update an array of your choice.
// Here I update the plugin options based on the shortcode atts.

		if ($atts !='') $this->change_options($atts);

	function change_options( $atts ){
			$this->OpOut = array_merge($this->OpOut, array_filter($atts));

   			return $this->OpOut;

On Feb 8, 2009, at 4:09 PM, Stefano Aglietti wrote:

> Any suggestion?

Daiv Mowbray
daiv at daivmowbray.com

More information about the wp-hackers mailing list