Make WordPress Core

Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#28754 closed enhancement (maybelater)

Additional Hooks for the General Settings Screen

Reported by: enej's profile enej Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Options, Meta APIs Keywords:
Focuses: administration Cc:

Description

I would like to add more filters to the general settings page. So that I and insert specific html before and after the form is displayed.

Attachments (1)

add-actions-to-general-settings.diff (860 bytes) - added by enej 10 years ago.
Additional filters for the general settings page.

Download all attachments as: .zip

Change History (14)

@enej
10 years ago

Additional filters for the general settings page.

#1 @SergeyBiryukov
10 years ago

  • Component changed from General to Options, Meta APIs
  • Focuses administration added

Related: #16413

#2 @SergeyBiryukov
10 years ago

  • Summary changed from Addintional Hooks for the General Settings Screen to Additional Hooks for the General Settings Screen

#3 @enej
10 years ago

  • Component changed from Options, Meta APIs to General
  • Focuses administration removed
  • Summary changed from Additional Hooks for the General Settings Screen to Addintional Hooks for the General Settings Screen

These hooks would allow developers to overwrite how the general settings get displayed.
For example display them in multiple columns or even using tabs.

#4 follow-up: @azaozz
10 years ago

  • Component changed from General to Options, Meta APIs
  • Focuses administration added

Would it make sense to add these actions to all settings screens?

#5 @SergeyBiryukov
10 years ago

  • Summary changed from Addintional Hooks for the General Settings Screen to Additional Hooks for the General Settings Screen

#6 in reply to: ↑ 4 @georgestephanis
10 years ago

Replying to azaozz:

Would it make sense to add these actions to all settings screens?

+1

I know there have been times I've wanted to add things after the actual contents, by way of documentations, or a standalone ui.

Last edited 10 years ago by georgestephanis (previous) (diff)

#7 @ghost1227
10 years ago

Oooh... I like this idea! +1

#8 @nacin
10 years ago

  • Keywords close added

These settings screens are due for an overhaul. In 3.9 we talked about combining all of them to one screen. We've also talked about overhauling the settings markup (no more tables), and also talked about a new settings API.

I get that a lot of this is just 'talk' for now, but this ticket is asking for about very generic hooks that will be very difficult to support if *any* changes occur. They're also very generic hooks on long-standing, long-unchanged pages. If it took until now to ask for them, I think that's a good indication of demand.

I'd suggest you make your own settings page if you need to get around such limitations.

#9 @chriscct7
8 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

The consensus I've gotten from the core team, and specifically helen, is that at some point those screens will be rewritten using a settings api, but in the meantime adding generic hooks that could cause issues with future compatibility is not a good idea. Maybelatering given this and the lack of interest over the last 14 months.

#10 @chriscct7
8 years ago

#15865 was marked as a duplicate.

#11 @chriscct7
8 years ago

#15865 was marked as a duplicate.

#12 @chriscct7
8 years ago

#13548 was marked as a duplicate.

#13 @chriscct7
8 years ago

#20563 was marked as a duplicate.

Note: See TracTickets for help on using tickets.