Pass get_option value to an array

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.

Read More
<?php $var = array( 'foo' =>'echo stripslashes(get_option('a'));');

Please let me know how can I achieve this.

Related posts

Leave a Reply

1 comment