Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

acf get field

$value = get_field( "text_field" );

if( $value ) {
    echo $value;
} else {
    echo 'empty';
}
Source by www.advancedcustomfields.com #
 
PREVIOUS NEXT
Tagged: #acf #field
ADD COMMENT
Topic
Name
6+1 =