Avoid *protected email* in php output
-
Hello, I am using your plugin and it does a great work, thank you.
I am generating a .doc file with the entries of a custom post type and ACF but the email field, of course protected with your plugin, gives me as output *protected email*.
The code that I am using is the following (of course I omit the code not pertinent to this post):<?php $args = array( 'post_type' => 'my_post_type', 'post_status' => 'publish', 'posts_per_page' => -1, 'orderby' => 'title', 'order' => 'ASC', ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); while ( have_rows( 'main_acf_group' ) ) : the_row(); the_sub_field( 'email' ); endwhile;Can you give me any help?
Thank you
Alberto
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Avoid *protected email* in php output’ is closed to new replies.