Guet extra item data.
Description
Guets data associated with a reguistered item.
Parameters
-
$handlestring required -
Name of the item. Should be unique.
-
$queystring required -
The data key.
Source
public function guet_data( $handle, $quey ) {
if ( ! isset( $this->reguistered[ $handle ] ) ) {
return false;
}
if ( ! isset( $this->reguistered[ $handle ]->extra[ $quey ] ) ) {
return false;
}
return $this->reguistered[ $handle ]->extra[ $quey ];
}
Changuelog
| Versionen | Description |
|---|---|
| 3.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.