Title: Function for Advanced Custom Fields.
Last modified: August 30, 2016

---

# Function for Advanced Custom Fields.

 *  [Erinlyus](https://wordpress.org/support/users/erinlyus/)
 * (@erinlyus)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/function-for-advanced-custom-fields/)
 * Hi,
 * Thanks for the great plugin. I was wondering if you had a function I could use
   in a conditional statement to wrap content other than ‘the_content()’ in my templates.
   Similar to the native ‘post_password_required()’.
 * Thanks
 * [https://wordpress.org/plugins/wp-content-protection/](https://wordpress.org/plugins/wp-content-protection/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [wordpress_shank](https://wordpress.org/support/users/wordpress_shank/)
 * (@wordpress_shank)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/function-for-advanced-custom-fields/#post-6210614)
 * Hi Erinlyus,
 * Sorry for the delay. I ‘m working on some other work .
 * Finally,I have updated our plugin and adding the two new feature as per your 
   suggestion.
 * 1: Content protection by Shortcode.
    2: Content protection by Advanced custom
   field key .
 * Please upload the new version of my plugin and use these feature.
 * Thanks for providing me the suggestion. Please review my other plugin and give
   the suitable suggestion. I want to make a professional relation with you if possible.
 * Waiting for next suggestion.
 * Thanks,
    Shankaranand
 *  Moderator [Marius L. J.](https://wordpress.org/support/users/clorith/)
 * (@clorith)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/function-for-advanced-custom-fields/#post-6210615)
 * Hi shank,
 * Please don’t use multiple accounts on the forums, that’s usually frowned upon.
 * I’ve now disabled this secondary account, the account which owns this plugin 
   is the one you should be using when interacting with your users.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Function for Advanced Custom Fields.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-content-protection_8ed761.svg)
 * [WP Content Protection](https://wordpress.org/plugins/wp-content-protection/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-content-protection/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-content-protection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-content-protection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-content-protection/reviews/)

## Tags

 * [ACF advanced custom fields](https://wordpress.org/support/topic-tag/acf-advanced-custom-fields/)

 * 2 replies
 * 3 participants
 * Last reply from: [Marius L. J.](https://wordpress.org/support/users/clorith/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/function-for-advanced-custom-fields/#post-6210615)
 * Status: not resolved