Answers for "if post acf field not empty"

PHP
1

if field is filled out acf

<?php if( get_field('field_name') ): ?>
	<p>My field value: <?php the_field('field_name'); ?></p>
<?php endif; ?>
Posted by: Guest on June-29-2020

Browse Popular Code Answers by Language