[wp-trac] [WordPress Trac] #43303: Providing hooks for html table markups in do_settings_{sections|fields}
WordPress Trac
noreply at wordpress.org
Tue Feb 13 00:48:50 UTC 2018
#43303: Providing hooks for html table markups in do_settings_{sections|fields}
--------------------------------+-----------------------------
Reporter: aranwer104 | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Keywords:
Focuses: ui, administration |
--------------------------------+-----------------------------
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' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43303>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list