WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 19 months ago

#43303 new enhancement

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

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

Description

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.

do_settings_sections

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
2 years ago

  • Keywords needs-patch added

#2 @aranwer104
2 years ago

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

#3 @pento
19 months ago

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