admin-page-framework icon indicating copy to clipboard operation
admin-page-framework copied to clipboard

Nested In page tabs.

Open ivandotv opened this issue 9 years ago • 1 comments

I'm playing with nested in page tabs, I don't know if something like this is supported. I can't seem to add any settings fields to the in page tabs (not supported ?) screenshot_00120151117 t

ivandotv avatar Nov 17 '15 20:11 ivandotv

Nested in-page tabs are not supported at the moment, sorry. It is an interesting idea though.

If you need to nest tabs in only one depth, you can use form section tabs.

I can't seem to add any settings fields to the in page tabs (not supported ?)

Make sure you set the tab_slug argument in the section definition array.

            array(
                'section_id'        => 'my_section_id',
                'tab_slug'          => 'my_tab_slug', // <--- this one!
                'title'             => __( 'My Section', 'admin-page-framework-loader' ),
            )

michaeluno avatar Nov 17 '15 22:11 michaeluno