save current section

This commit is contained in:
paul sealock 2024-08-15 20:45:35 +12:00
parent 3ab5d9ec49
commit 2350f5e02a
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,8 @@ if ( ! class_exists( 'WC_Settings_Page', false ) ) :
'label' => html_entity_decode( $section_label ),
'settings' => $section_settings_data,
);
$current_section = $saved_current_section;
}
$pages[ $this->id ] = array(
'label' => html_entity_decode( $this->label ),