Join

Unlock the Ability to Use ACF (Advanced Custom Fields)

Don't want to mess with code snippets? Request for this to be a feature of MyListing Pro.

Instructions

  1. Create a new PHP code snippet.
  2. Copy the contents of code snippet below.
  3. Paste the contents into your code snippet.
  4. Review any notes that I’ve provided.
  5. Save and enable the code snippet.
  6. Test.

Snippet

The MyListing theme relies on the ACF (Advanced Custom Fields) plugin at its core, and ACF Pro is baked into the theme. By default, the MyListing developers lock the plugin to protect people from themselves.

Sometimes, people have legitimate reasons for needing access to ACF; this code snippet addresses that.

add_filter( 'acf/settings/show_admin', '__return_true', 50 );