Support

Account

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.