php - Retrive values of array from wp_option table of wordpress -
I've added some values in the wp_option table of WordPress in the Associate array, the result is given below.
array ($ computer = & gt; $ mouse, $ mouse = & gt; $ keyboard); Get_option ('policy_number'); Array ([0] = & gt; array ([comoperuter1] = & gt; mouseguo [mouse]] => keyboardview))
Output:
/ code>
How do I get the value of mouseview ? KeyboardWhole
You have an array within the array. You want the first item of the original array (index 0), and you want to return your key
to value
:
$ value = Get_option ('policy_number'); Forex currency ($ value as $ value) {resonance $ value ['mouse value']; }
Comments
Post a Comment