php - Get all options from WordPress options table -
is there way of options being store in options table wordpress plugin?
foreach ($options $slug => $values) { var_dump($slug); }
i have returns 1 single option , need of them iterate on $slug variable
please find code below :
$options = wp_load_alloptions(); foreach ($options $slug => $values) { var_dump($slug); }
hope works you.
Comments
Post a Comment