I want to pass get_option value to an array value. This the value that I want to pass to the array.
<?php echo stripslashes(get_option('a')); ?>
and this is what I am trying to do.
<?php $var = array( 'foo' =>'echo stripslashes(get_option('a'));');
Please let me know how can I achieve this.
Use a simple variable to store the value.