WPAlchemy Returns "Array"
-
I am using WPAlchemy for a custom meta box and I need it to echo
<p class="description">Here is a description</p>
However, it returns this instead:
<p class="description">Array</p>
Here is the PHP I am using:
<?php $meta = $custom_metabox->the_meta('description', TRUE); if ($meta): echo '<p class="description">'.$meta.'</p>'; ?> <?php endif; ?>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘WPAlchemy Returns "Array"’ is closed to new replies.