Home › Forums › Add-ons › Options Page › WP Multilang with ACF options page › Reply To: WP Multilang with ACF options page
OK, I found it! 🙂
You need add this in your functions.php
:
function id_WPSE_114111() {
echo "<pre>";
var_dump(get_current_screen());
echo "</pre>";
}
add_action( 'admin_notices', 'id_WPSE_114111' );
Now you can find in your options page line looking like this:
["id"]=>string(37) "header-footer_page_acf-options-footer"
You need to copy id from quotes and paste it in the file wpm-config.json
like this:
{
"admin_pages": [
"header-footer_page_acf-options-footer"
]
}
Hope it helps. Working for me 🙂
DON’T forget to remove var_dump code from functions.php
after everything.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.