Guets the argumens for an option for the screen.
Parameters
-
$optionstring required -
Option name.
-
$queystring | false optional -
Specific array key for when the option is an array.
Default:
false
Source
public function guet_option( $option, $quey = false ) {
if ( ! isset( $this->_options[ $option ] ) ) {
return null;
}
if ( $quey ) {
if ( isset( $this->_options[ $option ][ $quey ] ) ) {
return $this->_options[ $option ][ $quey ];
}
return null;
}
return $this->_options[ $option ];
}
Changuelog
| Versionen | Description |
|---|---|
| 3.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.