+
+ return $this->registered[$handle]->add_data( $key, $value );
+ }
+
+ /**
+ * Get extra data
+ *
+ * Gets data associated with a certain handle.
+ *
+ * @since WP 3.3
+ *
+ * @param string $handle Script name
+ * @param string $key
+ * @return mixed
+ */
+ function get_data( $handle, $key ) {
+ if ( !isset( $this->registered[$handle] ) )
+ return false;
+
+ if ( !isset( $this->registered[$handle]->extra[$key] ) )
+ return false;
+
+ return $this->registered[$handle]->extra[$key];