Support

Account

Home Forums Backend Issues (wp-admin) acf add options sub page to woocommerce menu

Helping

acf add options sub page to woocommerce menu

  • how i can add acf add options sub page to woocommerce menu?

    // Check function exists.
    if( function_exists(‘acf_add_options_sub_page’) ) {

    // Add parent.
    // Add sub page.
    acf_add_options_sub_page(array(
    ‘page_title’ => __(‘colros’),
    ‘menu_title’ => __(‘colors’),
    ‘menu_slug’ => ‘colors’,
    ‘parent_slug’ =>’wc-admin’,
    ));
    }

  • parent slug “woocommerce”

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

You must be logged in to reply to this topic.