Make WordPress Core

Opened 5 years ago

Last modified 4 years ago

#43303 new enhancement

Providing hooks for html table markups in do_settings_{sections|fields}

Reported by: aranwer104's profile aranwer104 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: ui, administration Cc:


I Apologize if this is silly thing but having hooks may enable customization opportunity for opening/closing table markups of do_settings_sections and likewise with fields. while maintaining table markups by default for core & other Settings API pages.


echo '<table class="form-table">';
do_settings_fields( $page, $section['id'] );
echo '</table>';

Something like

do_action( 'do_settings_sections_opening_wrapper_{$page}, 'default_handler' );

Change History (3)

#1 @aranwer104
5 years ago

  • Keywords needs-patch added

#2 @aranwer104
5 years ago

  • Keywords needs-patch removed
  • Type changed from feature request to enhancement

#3 @pento
4 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.