Support

Account

Home Forums Backend Issues (wp-admin) ACF Field Group Position

Helping

ACF Field Group Position

  • Hello,

    I couldn’t find any way how to customize the position of the acf field on post edit screen. It is specially needed to display the fields which are related to the product variation on woo commerce. The code below allows to hook into the variation section. But which code I need to use in the function to get a specific field group to display on edit screen?

    add_action( 'woocommerce_product_after_variable_attributes', 'variable_fields', 10, 3 );
    
    function variable_fields( $loop, $variation_data, $variation ) {
      //add acf field groups here
    }
  • Hi @mbagri

    I don’t think there’s a way to manually add the ACF field groups to WP admin.
    It can only be added like a standard WP meta box with the options available in the location settings for the field group.

    If you’re looking to add custom meta inside WooCommerces custom meta boxes I think you’ll have to create these yourself.

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

The topic ‘ACF Field Group Position’ is closed to new replies.